Minor bootloader tweaks; make some functions static where possible to reduce the...
[pub/USBasp.git] / Demos / Device / ClassDriver / Keyboard / Keyboard.c
index efa6ad0..6109ede 100644 (file)
@@ -8,7 +8,7 @@
 
 /*
   Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
 /*
   Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
-  
+
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
   without fee, provided that the above copyright notice appear in
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
   without fee, provided that the above copyright notice appear in
@@ -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_MODIFIER_LEFTSHIFT;
 
        *ReportSize = sizeof(USB_KeyboardReport_Data_t);
        return false;
 
        *ReportSize = sizeof(USB_KeyboardReport_Data_t);
        return false;