PX4: systemreset() now takes a boolean argument
this chooses whether to stay in the bootloader
This commit is contained in:
parent
372c424605
commit
e5f19e314d
@ -170,7 +170,7 @@ void PX4Scheduler::resume_timer_procs()
|
|||||||
|
|
||||||
void PX4Scheduler::reboot()
|
void PX4Scheduler::reboot()
|
||||||
{
|
{
|
||||||
systemreset();
|
systemreset(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PX4Scheduler::_run_timers(bool called_from_timer_thread)
|
void PX4Scheduler::_run_timers(bool called_from_timer_thread)
|
||||||
|
Loading…
Reference in New Issue
Block a user