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
This commit is contained in:
rmackay9 2012-09-27 17:40:30 +09:00
parent ed881117e0
commit 280488fa5e
1 changed files with 2 additions and 2 deletions

View File

@ -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();