From 30bbe7abb66d2e61daa08879002339e4d47fc94e Mon Sep 17 00:00:00 2001 From: murata Date: Sat, 21 Jan 2017 13:44:48 +0900 Subject: [PATCH] AP_HAL_Linux: Unify from print or println to printf. --- libraries/AP_HAL_Linux/AnalogIn_ADS1115.cpp | 2 +- libraries/AP_HAL_Linux/AnalogIn_Navio2.cpp | 2 +- libraries/AP_HAL_Linux/AnalogIn_Raspilot.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_Linux/AnalogIn_ADS1115.cpp b/libraries/AP_HAL_Linux/AnalogIn_ADS1115.cpp index 5c5b6339b0..e33747bb24 100644 --- a/libraries/AP_HAL_Linux/AnalogIn_ADS1115.cpp +++ b/libraries/AP_HAL_Linux/AnalogIn_ADS1115.cpp @@ -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; } diff --git a/libraries/AP_HAL_Linux/AnalogIn_Navio2.cpp b/libraries/AP_HAL_Linux/AnalogIn_Navio2.cpp index 44373f8f5d..c568332ee9 100644 --- a/libraries/AP_HAL_Linux/AnalogIn_Navio2.cpp +++ b/libraries/AP_HAL_Linux/AnalogIn_Navio2.cpp @@ -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; } diff --git a/libraries/AP_HAL_Linux/AnalogIn_Raspilot.cpp b/libraries/AP_HAL_Linux/AnalogIn_Raspilot.cpp index a24701a6eb..7d4d5eb349 100644 --- a/libraries/AP_HAL_Linux/AnalogIn_Raspilot.cpp +++ b/libraries/AP_HAL_Linux/AnalogIn_Raspilot.cpp @@ -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; }