mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Plane: change CLI timeout to 20s
This commit is contained in:
parent
83d5a64ca8
commit
0e37ae4400
@ -809,7 +809,7 @@ GCS_MAVLINK::update(void)
|
||||
#if CLI_ENABLED == ENABLED
|
||||
/* allow CLI to be started by hitting enter 3 times, if no
|
||||
* heartbeat packets have been received */
|
||||
if (mavlink_active == 0 && (millis() - _cli_timeout) < 30000) {
|
||||
if (mavlink_active == 0 && (millis() - _cli_timeout) < 20000) {
|
||||
if (c == '\n' || c == '\r') {
|
||||
crlf_count++;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user