mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_SerialManager: Console output can be disabled
This commit is contained in:
parent
6e91b364e0
commit
0245d0bae1
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user