Copter: Remove redundant nested #if CLI_ENABLED

This commit is contained in:
Jacob Walser 2017-03-28 18:40:16 -04:00 committed by Francisco Ferreira
parent b20b0fbbd3
commit 587c50c1a1

View File

@ -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)
{ {