Skip to content

Commit

Permalink
AP_HAL_ChibiOS: Use new default for reboot
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric authored and tridge committed Mar 12, 2024
1 parent aaffc37 commit 1e72e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/Util.cpp
Expand Up @@ -835,7 +835,7 @@ void Util::boot_to_dfu()
{
hal.util->persistent_data.boot_to_dfu = true;
stm32_watchdog_save((uint32_t *)&hal.util->persistent_data, (sizeof(hal.util->persistent_data)+3)/4);
hal.scheduler->reboot(false);
hal.scheduler->reboot();
}
#endif

Expand Down

0 comments on commit 1e72e6e

Please sign in to comment.