Fixed bug in MDx GPS driver preventing the correct reception of NMEA sentences
This commit is contained in:
parent
9b9c521459
commit
f847631d8e
|
|
@ -151,7 +151,7 @@ int gps_getNmeaSentence(char *buf, const size_t maxLength)
|
||||||
|
|
||||||
memset(buf, 0x00, maxLength);
|
memset(buf, 0x00, maxLength);
|
||||||
bufPos = 0;
|
bufPos = 0;
|
||||||
maxPos = 0;
|
maxPos = maxLength;
|
||||||
dataBuf = buf;
|
dataBuf = buf;
|
||||||
|
|
||||||
NVIC_EnableIRQ(USART3_IRQn);
|
NVIC_EnableIRQ(USART3_IRQn);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue