mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
Copter: disable dump_log when no APM2
This commit is contained in:
parent
3fa30f91db
commit
81230ab518
@ -58,6 +58,7 @@ print_log_menu(void)
|
|||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if CLI_ENABLED == ENABLED
|
||||||
static int8_t
|
static int8_t
|
||||||
dump_log(uint8_t argc, const Menu::arg *argv)
|
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);
|
Log_Read((uint16_t)dump_log, dump_log_start, dump_log_end);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int8_t
|
static int8_t
|
||||||
erase_logs(uint8_t argc, const Menu::arg *argv)
|
erase_logs(uint8_t argc, const Menu::arg *argv)
|
||||||
|
Loading…
Reference in New Issue
Block a user