forked from Archive/PX4-Autopilot
Increase NSH back-off time
This commit is contained in:
parent
14b923b454
commit
1ef7d13487
|
@ -68,8 +68,8 @@ nshterm_main(int argc, char *argv[])
|
|||
int armed_fd = orb_subscribe(ORB_ID(actuator_armed));
|
||||
struct actuator_armed_s armed;
|
||||
|
||||
/* back off 1500 ms to avoid running into the USB setup timing */
|
||||
while (hrt_absolute_time() < 1500U * 1000U) {
|
||||
/* back off 1800 ms to avoid running into the USB setup timing */
|
||||
while (hrt_absolute_time() < 1800U * 1000U) {
|
||||
usleep(50000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue