From e66e21cf2086c4412187a7b56c2b5d09308e74c7 Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Sat, 31 Dec 2011 09:35:40 +0800 Subject: [PATCH] remove gps callback in wait loop --- libraries/AP_GPS/AP_GPS_Auto.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AP_GPS/AP_GPS_Auto.cpp b/libraries/AP_GPS/AP_GPS_Auto.cpp index b3a93b8a68..9c225ecc74 100644 --- a/libraries/AP_GPS/AP_GPS_Auto.cpp +++ b/libraries/AP_GPS/AP_GPS_Auto.cpp @@ -117,7 +117,6 @@ AP_GPS_Auto::_detect(void) _port->flush(); then = millis(); do { - callback(1); if (_port->available()) { then = millis(); _port->read();