mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
remove gps callback in wait loop
This commit is contained in:
parent
19ed12444b
commit
e66e21cf20
@ -117,7 +117,6 @@ AP_GPS_Auto::_detect(void)
|
||||
_port->flush();
|
||||
then = millis();
|
||||
do {
|
||||
callback(1);
|
||||
if (_port->available()) {
|
||||
then = millis();
|
||||
_port->read();
|
||||
|
Loading…
Reference in New Issue
Block a user