BigW Consortium Gitlab

Commit 728f3703 by David Frey

locationService: cleanup indentation

parent 010db486
...@@ -180,7 +180,8 @@ static void LocationResultHandler( ...@@ -180,7 +180,8 @@ static void LocationResultHandler(
handle, &scan.lat, &scan.lon, &scan.hAccuracy); handle, &scan.lat, &scan.lon, &scan.hAccuracy);
if (res != LE_OK) if (res != LE_OK)
{ {
LE_INFO("Received result notification of type success response, but couldn't fetch the result\n"); LE_INFO(
"Received result notification of type success response, but couldn't fetch the result\n");
exit(1); exit(1);
} }
else else
...@@ -216,7 +217,8 @@ static void LocationResultHandler( ...@@ -216,7 +217,8 @@ static void LocationResultHandler(
sizeof(message) - 1); sizeof(message) - 1);
if (res != LE_OK) if (res != LE_OK)
{ {
LE_INFO("Received result notification of type success response, but couldn't fetch the result\n"); LE_INFO(
"Received result notification of type success response, but couldn't fetch the result\n");
exit(1); exit(1);
} }
else else
...@@ -240,7 +242,8 @@ static void LocationResultHandler( ...@@ -240,7 +242,8 @@ static void LocationResultHandler(
handle, rawResult, sizeof(rawResult) - 1); handle, rawResult, sizeof(rawResult) - 1);
if (res != LE_OK) if (res != LE_OK)
{ {
LE_INFO("Received result notification of type success response, but couldn't fetch the result\n"); LE_INFO(
"Received result notification of type success response, but couldn't fetch the result\n");
exit(1); exit(1);
} }
else else
...@@ -330,7 +333,8 @@ static void WifiEventHandler(le_wifiClient_Event_t event, void *context) ...@@ -330,7 +333,8 @@ static void WifiEventHandler(le_wifiClient_Event_t event, void *context)
res = ma_combainLocation_AppendWifiAccessPoint( res = ma_combainLocation_AppendWifiAccessPoint(
State.combainHandle, bssidBytes, 6, ssid, ssidLen, signalStrength); State.combainHandle, bssidBytes, 6, ssid, ssidLen, signalStrength);
LE_INFO("Submitted AccessPoint: %d ssid: %s", (uint32_t) State.combainHandle, (char *) ssid); LE_INFO("Submitted AccessPoint: %d ssid: %s", (uint32_t) State.combainHandle,
(char *) ssid);
if (res != LE_OK) if (res != LE_OK)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment