Commit 30af3466 authored by Adam Wujek's avatar Adam Wujek

sw/petalinux/diot-util: fix PSU numbers for status command

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 84dce5c1
......@@ -192,8 +192,8 @@ int cmd_print_status(char *params)
SB_VER, hw_version);
printf("System Board in System Slot | %12s |\n", read_system_slot_presence() ? "yes" : "no");
printf("FMC mezzanine | %12s |\n", read_mezzanine_presence() ? "present" : "not present");
printf("PSU 0 | %12s |\n", read_psu_presence(1) ? "present" : "not present");
printf("PSU 1 | %12s |\n", read_psu_presence(2) ? "present" : "not present");
printf("PSU 1 | %12s |\n", read_psu_presence(1) ? "present" : "not present");
printf("PSU 2 | %12s |\n", read_psu_presence(2) ? "present" : "not present");
printf("PSU Alert | %12s |\n", read_psu_alert() ? "yes" : "no");
printf("----------------------------+--------------+\n");
printf("\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment