Teensy3 usb_keyboard.c: keyboard_report_data[0] should be keyboard_modifier_keys

Dawnmist

Well-known member
A quick bug report for both beta 7 and beta 8 (so hopefully it gets fixed in 9 ;)).

usb_keyboard.c looks like it is 3/4 of the way through being modified from using the variable keyboard_report_data[8] for storage of modifiers+keypresses to the pair of variables keyboard_modifier_keys + keyboard_keys[6]. Lines 237 and 239 of usb_keyboard.c still refer to the now-removed keyboard_report_data[0] for the modifier keys instead of the new keyboard_modifier_keys variable, which means it won't compile. Changing those two calls to the new variable name fixes compilation.
 
Back
Top