From cd9b4b48aee0ec3a4beb02c6319570fb497cf036 Mon Sep 17 00:00:00 2001 From: murata Date: Mon, 21 Mar 2022 18:36:41 +0900 Subject: [PATCH] AP_OSD: Console output can be disabled --- libraries/AP_OSD/AP_OSD.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_OSD/AP_OSD.cpp b/libraries/AP_OSD/AP_OSD.cpp index 435d6c74d2..959d08e08d 100644 --- a/libraries/AP_OSD/AP_OSD.cpp +++ b/libraries/AP_OSD/AP_OSD.cpp @@ -271,7 +271,7 @@ void AP_OSD::init() if (backend == nullptr) { break; } - hal.console->printf("Started MAX7456 OSD\n"); + DEV_PRINTF("Started MAX7456 OSD\n"); #endif break; } @@ -282,7 +282,7 @@ void AP_OSD::init() if (backend == nullptr) { break; } - hal.console->printf("Started SITL OSD\n"); + DEV_PRINTF("Started SITL OSD\n"); break; } #endif @@ -291,7 +291,7 @@ void AP_OSD::init() if (backend == nullptr) { break; } - hal.console->printf("Started MSP OSD\n"); + DEV_PRINTF("Started MSP OSD\n"); break; } #if HAL_WITH_MSP_DISPLAYPORT @@ -300,7 +300,7 @@ void AP_OSD::init() if (backend == nullptr) { break; } - hal.console->printf("Started MSP DisplayPort OSD\n"); + DEV_PRINTF("Started MSP DisplayPort OSD\n"); break; } #endif