diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-06-20 01:33:42 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-06-20 01:33:42 +0000 |
| commit | 3f33944d3f647c8d296cde5382b5ea0da64d15ed (patch) | |
| tree | c75d2f4aed77ad0b1c0122d23265f4d7cc358284 /Projects/HIDReportViewer/HIDReportViewer.c | |
| parent | 4dcecfc556ecd6b14581571214c45aee2abdba54 (diff) | |
Fix incorrect printf format specifier in the HIDReportViewer project.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1812 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/HIDReportViewer/HIDReportViewer.c')
| -rw-r--r-- | Projects/HIDReportViewer/HIDReportViewer.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Projects/HIDReportViewer/HIDReportViewer.c b/Projects/HIDReportViewer/HIDReportViewer.c index fdf187d3..e01a38a7 100644 --- a/Projects/HIDReportViewer/HIDReportViewer.c +++ b/Projects/HIDReportViewer/HIDReportViewer.c @@ -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" PRIX32 "\r\n"
- " - Usage: 0x%04" PRIX32 "\r\n"
- " - Unit Type: 0x%04" PRIX32 "\r\n"
+ " - Usage Page: 0x%04" PRIX16 "\r\n"
+ " - Usage: 0x%04" PRIX16 "\r\n"
+ " - Unit Type: 0x%08" PRIX32 "\r\n"
" - Unit Exponent: 0x%02" PRIX8 "\r\n"
- " - Logical Minimum: 0x%04" PRIX32 "\r\n"
- " - Logical Maximum: 0x%04" PRIX32 "\r\n"
- " - Physical Minimum: 0x%04" PRIX32 "\r\n"
- " - Physical Maximum: 0x%04" PRIX32 "\r\n"
+ " - Logical Minimum: 0x%08" PRIX32 "\r\n"
+ " - Logical Maximum: 0x%08" PRIX32 "\r\n"
+ " - Physical Minimum: 0x%08" PRIX32 "\r\n"
+ " - Physical Maximum: 0x%08" 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(' ');
|
