File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -1263,3 +1263,19 @@ void gnssMenuConstellations()
1263
1263
um980MenuConstellations ();
1264
1264
}
1265
1265
}
1266
+
1267
+ bool gnssIsBlocking ()
1268
+ {
1269
+ if (online.gnss == true )
1270
+ {
1271
+ if (gnssPlatform == PLATFORM_ZED)
1272
+ {
1273
+ return (false );
1274
+ }
1275
+ else if (gnssPlatform == PLATFORM_UM980)
1276
+ {
1277
+ return (um980IsBlocking ());
1278
+ }
1279
+ }
1280
+ return (false );
1281
+ }
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ void gnssReadTask(void *e)
376
376
// same time: gnssReadTask() (to harvest incoming serial data) and um980 (the unicore library to configure the
377
377
// device) To allow the Unicore library to send/receive serial commands, we need to block the gnssReadTask
378
378
// If the Unicore library does not need lone access, then read from serial port
379
- if (um980IsBlocking () == false )
379
+ if (gnssIsBlocking () == false )
380
380
{
381
381
// Determine if serial data is available
382
382
while (serialGNSS->available ())
You can’t perform that action at this time.
0 commit comments