mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
3c095706ca
commit
16926a2df8
|
@ -999,7 +999,7 @@ void AP_Vehicle::accel_cal_update()
|
|||
if (ins.accel_cal_requires_reboot() &&
|
||||
!hal.util->get_soft_armed()) {
|
||||
hal.scheduler->delay(1000);
|
||||
hal.scheduler->reboot(false);
|
||||
hal.scheduler->reboot();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue