Add an option to the systemreset() call and to the reboot command (-b) to reboot into the bootloader.

The system will remain in the bootloader until it's reset, or until an upload is completed.
This commit is contained in:
px4dev
2013-08-03 22:35:18 -07:00
parent fbd5aae8c6
commit e931d3b9cd
4 changed files with 31 additions and 4 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
__BEGIN_DECLS
/** Reboots the board */
__EXPORT void systemreset(void) noreturn_function;
__EXPORT void systemreset(bool to_bootloader) noreturn_function;
/** Sends SIGUSR1 to all processes */
__EXPORT void killall(void);