From 280488fa5e2a3f5d59dd99ee2ae048c3f7f6fcf0 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Thu, 27 Sep 2012 17:40:30 +0900 Subject: [PATCH] ArduCopter: bug fix to display ITERM enabled/disabled properly from cli Also changed header for this message type to ITERM instead of just IT to make it more clear what it is --- ArduCopter/Log.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/Log.pde b/ArduCopter/Log.pde index 1ca10b62dc..519534a4c4 100644 --- a/ArduCopter/Log.pde +++ b/ArduCopter/Log.pde @@ -86,7 +86,7 @@ print_log_menu(void) if (g.log_bitmask & MASK_LOG_MOTORS) Serial.printf_P(PSTR(" MOTORS")); if (g.log_bitmask & MASK_LOG_OPTFLOW) Serial.printf_P(PSTR(" OPTFLOW")); if (g.log_bitmask & MASK_LOG_PID) Serial.printf_P(PSTR(" PID")); - if (g.log_bitmask & MASK_LOG_PID) Serial.printf_P(PSTR(" ITERM")); + if (g.log_bitmask & MASK_LOG_ITERM) Serial.printf_P(PSTR(" ITERM")); } Serial.println(); @@ -706,7 +706,7 @@ static void Log_Read_Iterm() { int16_t temp; - Serial.printf_P(PSTR("IT, ")); + Serial.printf_P(PSTR("ITERM, ")); for(uint8_t i = 1; i < 12; i++ ) { temp = DataFlash.ReadInt();