mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RCProtocol: allow changes of serial settings between protocols
if we are searching for new protocols then allow for baudrate table changes
This commit is contained in:
parent
deb2d6b782
commit
47590a55ff
@ -300,7 +300,7 @@ void AP_RCProtocol::check_added_uart(void)
|
||||
process_byte(uint8_t(b), current_baud);
|
||||
}
|
||||
}
|
||||
if (!_detected_with_bytes) {
|
||||
if (searching) {
|
||||
if (now - added.last_config_change_ms > 1000) {
|
||||
// change configs if not detected once a second
|
||||
added.config_num++;
|
||||
|
Loading…
Reference in New Issue
Block a user