From 0245d0bae129be011540b1da8d34600c5e5d6ddb Mon Sep 17 00:00:00 2001 From: murata Date: Mon, 21 Mar 2022 18:40:43 +0900 Subject: [PATCH] AP_SerialManager: Console output can be disabled --- libraries/AP_SerialManager/AP_SerialManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_SerialManager/AP_SerialManager.cpp b/libraries/AP_SerialManager/AP_SerialManager.cpp index 63a12b3eb4..2b9876981b 100644 --- a/libraries/AP_SerialManager/AP_SerialManager.cpp +++ b/libraries/AP_SerialManager/AP_SerialManager.cpp @@ -777,7 +777,7 @@ void AP_SerialManager::set_options(uint16_t i) struct UARTState &opt = state[i]; // pass through to HAL if (!hal.serial(i)->set_options(opt.options)) { - hal.console->printf("Unable to setup options for Serial%u\n", i); + DEV_PRINTF("Unable to setup options for Serial%u\n", i); } }