Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
5e0c8077
Commit
5e0c8077
authored
Jun 20, 2011
by
Dean Camera
Browse files
Fix incorrect printf format specifier in the HIDReportViewer project.
parent
a7dd9844
Changes
2
Hide whitespace changes
Inline
Side-by-side
LUFA/ManPages/FutureChanges.txt
View file @
5e0c8077
...
...
@@ -30,7 +30,6 @@
* - Demos/Projects
* -# Device/Host USB bridge
* -# Finish incomplete demos and projects
* -# HID Report Parser Dumper Project
* -# Add class driver support for Test and Measurement class
* -# Add class driver support for EEM class
* -# Add class driver support for ECM class
...
...
Projects/HIDReportViewer/HIDReportViewer.c
View file @
5e0c8077
...
...
@@ -151,14 +151,14 @@ int main(void)
" - Item Flags: 0x%02"
PRIX8
"
\r\n
"
" - Item Offset (Bits): 0x%02"
PRIX8
"
\r\n
"
" - Item Size (Bits): 0x%02"
PRIX8
"
\r\n
"
" - Usage Page: 0x%04"
PRIX
32
"
\r\n
"
" - Usage: 0x%04"
PRIX
32
"
\r\n
"
" - Unit Type: 0x%0
4
"
PRIX32
"
\r\n
"
" - Usage Page: 0x%04"
PRIX
16
"
\r\n
"
" - Usage: 0x%04"
PRIX
16
"
\r\n
"
" - Unit Type: 0x%0
8
"
PRIX32
"
\r\n
"
" - Unit Exponent: 0x%02"
PRIX8
"
\r\n
"
" - Logical Minimum: 0x%0
4
"
PRIX32
"
\r\n
"
" - Logical Maximum: 0x%0
4
"
PRIX32
"
\r\n
"
" - Physical Minimum: 0x%0
4
"
PRIX32
"
\r\n
"
" - Physical Maximum: 0x%0
4
"
PRIX32
"
\r\n
"
" - Logical Minimum: 0x%0
8
"
PRIX32
"
\r\n
"
" - Logical Maximum: 0x%0
8
"
PRIX32
"
\r\n
"
" - Physical Minimum: 0x%0
8
"
PRIX32
"
\r\n
"
" - Physical Maximum: 0x%0
8
"
PRIX32
"
\r\n
"
" - Collection Path:
\r\n
"
),
ItemIndex
,
RItem
->
ReportID
,
...
...
@@ -183,7 +183,7 @@ int main(void)
for
(
uint8_t
i
=
0
;
i
<
CollectionDepth
;
i
++
)
putchar
(
' '
);
printf_P
(
PSTR
(
"- Type: 0x%02"
PRIX8
"
\r\n
"
),
CollectionPath
->
Type
);
printf_P
(
PSTR
(
"- Type:
0x%02"
PRIX8
"
\r\n
"
),
CollectionPath
->
Type
);
for
(
uint8_t
i
=
0
;
i
<
CollectionDepth
;
i
++
)
putchar
(
' '
);
...
...
Write
Preview
Supports
Markdown
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