mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 10:30:34 +08:00
Added feedback before rebooting
This commit is contained in:
@@ -47,6 +47,9 @@ __EXPORT int reboot_main(int argc, char *argv[]);
|
||||
|
||||
int reboot_main(int argc, char *argv[])
|
||||
{
|
||||
printf("Rebooting now...\n");
|
||||
fflush(stdout);
|
||||
usleep(5000);
|
||||
up_systemreset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user