mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 10:07:36 +08:00
format src/systemcmds/reboot
This commit is contained in:
@@ -52,6 +52,7 @@ int reboot_main(int argc, char *argv[])
|
||||
|
||||
int myoptind = 1;
|
||||
const char *myoptarg = NULL;
|
||||
|
||||
while ((ch = px4_getopt(argc, argv, "b", &myoptind, &myoptarg)) != -1) {
|
||||
switch (ch) {
|
||||
case 'b':
|
||||
@@ -60,7 +61,7 @@ int reboot_main(int argc, char *argv[])
|
||||
|
||||
default:
|
||||
PX4_ERR("usage: reboot [-b]\n"
|
||||
" -b reboot into the bootloader");
|
||||
" -b reboot into the bootloader");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user