From c8e6127a8e5c6082c3179a8efcfae8d16a936ff2 Mon Sep 17 00:00:00 2001 From: Nico Date: Tue, 14 Apr 2015 19:21:52 +0200 Subject: [PATCH] Minor Keyboard API fix --- avr/cores/hid/USB-Core/Keyboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr/cores/hid/USB-Core/Keyboard.cpp b/avr/cores/hid/USB-Core/Keyboard.cpp index 8f2c935..66bcd99 100644 --- a/avr/cores/hid/USB-Core/Keyboard.cpp +++ b/avr/cores/hid/USB-Core/Keyboard.cpp @@ -50,7 +50,7 @@ Keyboard_ Keyboard; void Keyboard_::sendReport(HID_KeyboardReport_Data_t* keys) { - HID_SendReport(HID_REPORTID_KEYBOARD, keys, sizeof(HID_KeyboardReport_Data_t)); + HID_SendReport(HID_REPORTID_KEYBOARD, keys, sizeof(keys)); } extern