BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mangoh-drivers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
mangoh-drivers
Commits
728f3703
Commit
728f3703
authored
Mar 21, 2019
by
David Frey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
locationService: cleanup indentation
parent
010db486
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
location.c
apps/locationService/components/location.c
+8
-4
No files found.
apps/locationService/components/location.c
View file @
728f3703
...
@@ -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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment