Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT Zynq Ultrascale-based System Board
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
DIOT Zynq Ultrascale-based System Board
Commits
30af3466
Commit
30af3466
authored
Apr 04, 2022
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw/petalinux/diot-util: fix PSU numbers for status command
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
84dce5c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
diot_util.c
...t-spec/meta-user/recipes-apps/diot-util/files/diot_util.c
+2
-2
No files found.
sw/petalinux/project-spec/meta-user/recipes-apps/diot-util/files/diot_util.c
View file @
30af3466
...
...
@@ -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
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment