mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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;
|
return;
|
||||||
} else if (_cal_has_run && _auto_reboot()) {
|
} else if (_cal_has_run && _auto_reboot()) {
|
||||||
hal.scheduler->delay(1000);
|
hal.scheduler->delay(1000);
|
||||||
hal.scheduler->reboot(false);
|
hal.scheduler->reboot();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user