File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -463,11 +463,14 @@ void processUart1Message(SEMP_PARSE_STATE *parse, uint16_t type)
463
463
464
464
// Determine if this message should be processed by the Unicore library
465
465
// Pass NMEA to um980 before applying compensation
466
- if ((type == RTK_UNICORE_BINARY_PARSER_INDEX) || (type == RTK_UNICORE_HASH_PARSER_INDEX) ||
467
- (type == RTK_NMEA_PARSER_INDEX))
466
+ if (gnssPlatform == PLATFORM_UM980)
468
467
{
469
- // Give this data to the library to update its internal variables
470
- um980UnicoreHandler (parse->buffer , parse->length );
468
+ if ((type == RTK_UNICORE_BINARY_PARSER_INDEX) || (type == RTK_UNICORE_HASH_PARSER_INDEX) ||
469
+ (type == RTK_NMEA_PARSER_INDEX))
470
+ {
471
+ // Give this data to the library to update its internal variables
472
+ um980UnicoreHandler (parse->buffer , parse->length );
473
+ }
471
474
}
472
475
473
476
if (tiltIsCorrecting () == true )
You can’t perform that action at this time.
0 commit comments