mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Remove fmu id command as it is redundant to ver uid
This command was redudnat to "fmu uid|all" However it printed the leading zeros.
This commit is contained in:
committed by
Lorenz Meier
parent
53df80881a
commit
7600aa51f7
@@ -3302,13 +3302,6 @@ fmu_main(int argc, char *argv[])
|
||||
errx(0, "FMU driver stopped");
|
||||
}
|
||||
|
||||
if (!strcmp(verb, "id")) {
|
||||
char uid_fmt_buffer[PX4_CPU_UUID_WORD32_LEGACY_FORMAT_SIZE];
|
||||
board_get_uuid_formated32(uid_fmt_buffer, sizeof(uid_fmt_buffer), "%0X", " ", &px4_legacy_word32_order);
|
||||
printf("Board serial:\n %s\n", uid_fmt_buffer);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (fmu_start() != OK) {
|
||||
errx(1, "failed to start the FMU driver");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user