Plane: allow printing of GUIDED mode in logs

This commit is contained in:
Andrew Tridgell 2014-02-02 14:04:36 +11:00
parent b2c5e12fb4
commit e42a10a764

View File

@ -581,6 +581,9 @@ print_flight_mode(AP_HAL::BetterStream *port, uint8_t mode)
case LOITER:
port->print_P(PSTR("Loiter"));
break;
case GUIDED:
port->print_P(PSTR("Guided"));
break;
default:
port->printf_P(PSTR("Mode(%u)"), (unsigned)mode);
break;