From 81230ab51874a44d23688f26a559db4835e19b07 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 1 Aug 2014 15:57:28 +1000 Subject: [PATCH] Copter: disable dump_log when no APM2 --- ArduCopter/Log.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index df895c9edd..b59e5ada48 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -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)