diff options
Diffstat (limited to 'hid/lib/drivers-avr/usb/hid.h')
-rw-r--r-- | hid/lib/drivers-avr/usb/hid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/lib/drivers-avr/usb/hid.h b/hid/lib/drivers-avr/usb/hid.h index dec850a7..1fc80eeb 100644 --- a/hid/lib/drivers-avr/usb/hid.h +++ b/hid/lib/drivers-avr/usb/hid.h @@ -98,7 +98,7 @@ class UsbKeyboard : public DRIVERS::Keyboard { } void sendKey(uint8_t code, bool state) override { - KeyboardKeycode usb_code = keymapUsb(code); + uint8_t usb_code = keymapUsb(code); if (usb_code != KEY_ERROR_UNDEFINED) { if (state ? _kbd.add(usb_code) : _kbd.remove(usb_code)) { _sendCurrent(); |