mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: Remove redundant nested #if CLI_ENABLED
This commit is contained in:
parent
b20b0fbbd3
commit
587c50c1a1
@ -59,7 +59,6 @@ bool Copter::print_log_menu(void)
|
|||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CLI_ENABLED == ENABLED
|
|
||||||
int8_t Copter::dump_log(uint8_t argc, const Menu::arg *argv)
|
int8_t Copter::dump_log(uint8_t argc, const Menu::arg *argv)
|
||||||
{
|
{
|
||||||
int16_t dump_log_num;
|
int16_t dump_log_num;
|
||||||
@ -85,7 +84,6 @@ int8_t Copter::dump_log(uint8_t argc, const Menu::arg *argv)
|
|||||||
Log_Read((uint16_t)dump_log_num, dump_log_start, dump_log_end);
|
Log_Read((uint16_t)dump_log_num, dump_log_start, dump_log_end);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
int8_t Copter::erase_logs(uint8_t argc, const Menu::arg *argv)
|
int8_t Copter::erase_logs(uint8_t argc, const Menu::arg *argv)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user