AP_SerialManager: Console output can be disabled

This commit is contained in:
murata 2022-03-21 18:40:43 +09:00 committed by Andrew Tridgell
parent 6e91b364e0
commit 0245d0bae1

View File

@ -777,7 +777,7 @@ void AP_SerialManager::set_options(uint16_t i)
struct UARTState &opt = state[i]; struct UARTState &opt = state[i];
// pass through to HAL // pass through to HAL
if (!hal.serial(i)->set_options(opt.options)) { 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);
} }
} }