mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 22:17:34 +08:00
Remove reboot() API, replace with a prototype for up_systemreset() which is portable.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
__BEGIN_DECLS
|
||||
|
||||
/** Reboots the board */
|
||||
__EXPORT int reboot(void);
|
||||
extern void up_systemreset(void) noreturn_function;
|
||||
|
||||
/** Sends SIGUSR1 to all processes */
|
||||
__EXPORT void killall(void);
|
||||
|
||||
Reference in New Issue
Block a user