mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
system/fastboot: Fix command comparation
e.g. The command is "reboot-bootloader", but will match and break when
compared with "reboot"
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
2bfb9760ad
commit
bf4d873985
1 changed files with 2 additions and 2 deletions
|
|
@ -146,8 +146,8 @@ static const struct fastboot_cmd_s g_fast_cmd[] =
|
|||
{ "download:", fastboot_download },
|
||||
{ "erase:", fastboot_erase },
|
||||
{ "flash:", fastboot_flash },
|
||||
{ "reboot", fastboot_reboot },
|
||||
{ "reboot-bootloader", fastboot_reboot_bootloader}
|
||||
{ "reboot-bootloader", fastboot_reboot_bootloader},
|
||||
{ "reboot", fastboot_reboot }
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue