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:
David Sidrane
2017-01-28 05:55:53 -10:00
committed by Lorenz Meier
parent 53df80881a
commit 7600aa51f7

View File

@@ -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");
}