Fixed bug in MDx GPS driver preventing the correct reception of NMEA sentences

replace/0ff3cde42aebe86cf117cda23c4adf3540feac3e
Silvano Seva 2021-02-04 10:31:27 +01:00
rodzic 9b9c521459
commit f847631d8e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -151,7 +151,7 @@ int gps_getNmeaSentence(char *buf, const size_t maxLength)
memset(buf, 0x00, maxLength);
bufPos = 0;
maxPos = 0;
maxPos = maxLength;
dataBuf = buf;
NVIC_EnableIRQ(USART3_IRQn);