fix typo
This commit is contained in:
parent
03fd6a7a0c
commit
1900923246
@ -434,7 +434,7 @@ class DATA_SYSTEM(HBSYSTEM):
|
||||
sms_hex = str(ba2hx(bitarray(re.sub("\)|\(|bitarray|'", '', packet_assembly))))
|
||||
sms_hex_string = re.sub("b'|'", '', str(sms_hex))
|
||||
#NMEA GPS sentence
|
||||
if '$GPRMC' in final_packet or if '$GNRMC' in final_packet:
|
||||
if '$GPRMC' in final_packet or '$GNRMC' in final_packet:
|
||||
logger.info(final_packet + '\n')
|
||||
nmea_parse = re.sub('A\*.*|.*\$', '', str(final_packet))
|
||||
loc = pynmea2.parse(nmea_parse, check=False)
|
||||
|
Loading…
Reference in New Issue
Block a user