projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
Keyboard
/
Keyboard.c
diff --git
a/Demos/Device/ClassDriver/Keyboard/Keyboard.c
b/Demos/Device/ClassDriver/Keyboard/Keyboard.c
index
efa6ad0
..
2072e77
100644
(file)
--- a/
Demos/Device/ClassDriver/Keyboard/Keyboard.c
+++ b/
Demos/Device/ClassDriver/Keyboard/Keyboard.c
@@
-169,7
+169,7
@@
bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDIn
KeyboardReport->KeyCode[UsedKeyCodes++] = HID_KEYBOARD_SC_F;
if (UsedKeyCodes)
KeyboardReport->KeyCode[UsedKeyCodes++] = HID_KEYBOARD_SC_F;
if (UsedKeyCodes)
- KeyboardReport->Modifier = HID_KEYBOARD_MODIFER_LEFTSHIFT;
+ KeyboardReport->Modifier = HID_KEYBOARD_MODIF
I
ER_LEFTSHIFT;
*ReportSize = sizeof(USB_KeyboardReport_Data_t);
return false;
*ReportSize = sizeof(USB_KeyboardReport_Data_t);
return false;