remove gps callback in wait loop

This commit is contained in:
Michael Oborne 2011-12-31 09:35:40 +08:00
parent a2edba69b1
commit 3d85f99546

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();