Skip to content

Commit 5488691

Browse files
Merge pull request #284 from larus-breeze/fixes_261018
Fixes 261018
2 parents b6ecbec + 424bfb7 commit 5488691

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎sw_stm32/Communication/sensor_dump.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void format_sensor_dump( const measurement_data_t &m, const D_GNSS_coordinates_t
178178
*s++ = '%';
179179
newline( s);
180180

181-
if( c.sat_fix_type == (SAT_FIX | SAT_HEADING))
181+
if( (c.sat_fix_type & 0x03) == (SAT_FIX | SAT_HEADING))
182182
{
183183
float baselength = c.relPosNED.abs();
184184
append_string( s, "D-GNSS: BaseLength: ");

‎sw_stm32/Communication/uSD_handler.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ void uSD_handler_runnable (void*)
411411
char out_filename[30];
412412

413413
// wait until a GNSS timestamp is available.
414-
while ( coordinates.sat_fix_type == 0)
414+
while ( (coordinates.sat_fix_type & 0x03) == 0)
415415
{
416416
if( crashfile)
417417
write_crash_dump( user_initiated_reset);

0 commit comments

Comments
 (0)