mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
ce9fa18800
commit
84a5a52351
|
@ -41,7 +41,7 @@ void Compass::cal_update()
|
|||
return;
|
||||
} else if (_cal_has_run && _auto_reboot()) {
|
||||
hal.scheduler->delay(1000);
|
||||
hal.scheduler->reboot(false);
|
||||
hal.scheduler->reboot();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue