mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:04:19 +08:00
Fix ver command
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user