forked from Archive/PX4-Autopilot
Fix ver command
This commit is contained in:
parent
488739cc46
commit
ed0f28ed41
|
@ -91,7 +91,7 @@ int ver_main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
/* check if we want to show all */
|
||||
bool show_all = !strncmp(argv[1], sz_ver_all_str, sizeof(sz_ver_all_str))
|
||||
bool show_all = !strncmp(argv[1], sz_ver_all_str, sizeof(sz_ver_all_str));
|
||||
|
||||
if (show_all || !strncmp(argv[1], sz_ver_hw_str, sizeof(sz_ver_hw_str))) {
|
||||
printf("HW arch: %s\n", HW_ARCH);
|
||||
|
|
Loading…
Reference in New Issue