1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

gps nmea: reset error counter on init hardware

This commit is contained in:
Kemal Hadimli 2013-12-24 01:48:51 +02:00
parent 51b8a9e365
commit 11abec88ed

View file

@ -117,7 +117,7 @@ void gpsInitHardware(void)
// nothing to do, just set baud rate and try receiving some stuff and see if it parses
serialSetBaudRate(core.gpsport, gpsInitData[gpsData.baudrateIndex].baudrate);
gpsSetState(GPS_RECEIVINGDATA);
return;
break;
case GPS_UBLOX:
// UBX will run at mcfg.baudrate, it shouldn't be "autodetected". So here we force it to that rate