Copter: disable dump_log when no APM2

This commit is contained in:
Andrew Tridgell 2014-08-01 15:57:28 +10:00
parent 3fa30f91db
commit 81230ab518

View File

@ -58,6 +58,7 @@ print_log_menu(void)
return(true);
}
#if CLI_ENABLED == ENABLED
static int8_t
dump_log(uint8_t argc, const Menu::arg *argv)
{
@ -86,6 +87,7 @@ dump_log(uint8_t argc, const Menu::arg *argv)
Log_Read((uint16_t)dump_log, dump_log_start, dump_log_end);
return (0);
}
#endif
static int8_t
erase_logs(uint8_t argc, const Menu::arg *argv)