esc_calibration: adjust timeout when waiting for user to connect battery

to 20 seconds

Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
Roman 2018-07-02 13:30:43 +02:00 committed by Lorenz Meier
parent 5d87eed41c
commit 9d1fa8cee2
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ int do_esc_calibration(orb_advert_t *mavlink_log_pub, struct actuator_armed_s* a
bool batt_updated = false;
bool batt_connected = true; // for safety resons assume battery is connected, will be cleared below if not the case
hrt_abstime battery_connect_wait_timeout = 3_s;
hrt_abstime battery_connect_wait_timeout = 20_s;
hrt_abstime pwm_high_timeout = 3_s;
hrt_abstime timeout_start = 0;