remove gps callback in wait loop

This commit is contained in:
Michael Oborne 2011-12-31 09:35:40 +08:00
parent 19ed12444b
commit e66e21cf20

View File

@ -117,7 +117,6 @@ AP_GPS_Auto::_detect(void)
_port->flush();
then = millis();
do {
callback(1);
if (_port->available()) {
then = millis();
_port->read();