Browse Source

AP_SerialManager: Console output can be disabled

apm_2208
murata 3 years ago committed by Andrew Tridgell
parent
commit
0245d0bae1
  1. 2
      libraries/AP_SerialManager/AP_SerialManager.cpp

2
libraries/AP_SerialManager/AP_SerialManager.cpp

@ -777,7 +777,7 @@ void AP_SerialManager::set_options(uint16_t i) @@ -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);
}
}

Loading…
Cancel
Save