From 4236b10edcb89617b1404446e72d36437bfd071e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 2 Jan 2013 10:18:05 +1100 Subject: [PATCH] Copter: fixed board ID string --- ArduCopter/Log.pde | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index 2eae50f724..d66bba0bb3 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -1153,12 +1153,10 @@ static void Log_Read(int16_t start_page, int16_t end_page) "\nFree RAM: %u\n"), (unsigned) memcheck_available_memory()); - #if CONFIG_APM_HARDWARE == APM_HARDWARE_APM2 - cliSerial->printf_P(PSTR("APM 2\n")); - #elif CONFIG_APM_HARDWARE == APM2_BETA_HARDWARE - cliSerial->printf_P(PSTR("APM 2Beta\n")); - #else + #if CONFIG_HAL_BOARD == HAL_BOARD_APM1 cliSerial->printf_P(PSTR("APM 1\n")); + #elif CONFIG_HAL_BOARD == HAL_BOARD_APM2 + cliSerial->printf_P(PSTR("APM 2\n")); #endif #if CLI_ENABLED == ENABLED