Browse Source

AP_HAL_Linux: Unify from print or println to printf.

master
murata 8 years ago committed by Andrew Tridgell
parent
commit
30bbe7abb6
  1. 2
      libraries/AP_HAL_Linux/AnalogIn_ADS1115.cpp
  2. 2
      libraries/AP_HAL_Linux/AnalogIn_Navio2.cpp
  3. 2
      libraries/AP_HAL_Linux/AnalogIn_Raspilot.cpp

2
libraries/AP_HAL_Linux/AnalogIn_ADS1115.cpp

@ -56,7 +56,7 @@ AP_HAL::AnalogSource* AnalogIn_ADS1115::channel(int16_t pin) @@ -56,7 +56,7 @@ AP_HAL::AnalogSource* AnalogIn_ADS1115::channel(int16_t pin)
}
}
hal.console->println("Out of analog channels");
hal.console->printf("Out of analog channels\n");
return nullptr;
}

2
libraries/AP_HAL_Linux/AnalogIn_Navio2.cpp

@ -114,7 +114,7 @@ AP_HAL::AnalogSource *AnalogIn_Navio2::channel(int16_t pin) @@ -114,7 +114,7 @@ AP_HAL::AnalogSource *AnalogIn_Navio2::channel(int16_t pin)
}
}
hal.console->println("Out of analog channels");
hal.console->printf("Out of analog channels\n");
return nullptr;
}

2
libraries/AP_HAL_Linux/AnalogIn_Raspilot.cpp

@ -67,7 +67,7 @@ AP_HAL::AnalogSource* AnalogIn_Raspilot::channel(int16_t pin) @@ -67,7 +67,7 @@ AP_HAL::AnalogSource* AnalogIn_Raspilot::channel(int16_t pin)
}
}
hal.console->println("Out of analog channels");
hal.console->printf("Out of analog channels\n");
return nullptr;
}

Loading…
Cancel
Save