Unsign key argument in add_key_to_report

pjrc_hid 0.5.196
fauxpark 7 years ago committed by Jack Humbert
parent b8f08d936d
commit b3bcafcc4b

@ -176,7 +176,7 @@ void del_key_bit(report_keyboard_t* keyboard_report, uint8_t code)
} }
#endif #endif
void add_key_to_report(report_keyboard_t* keyboard_report, int8_t key) void add_key_to_report(report_keyboard_t* keyboard_report, uint8_t key)
{ {
#ifdef NKRO_ENABLE #ifdef NKRO_ENABLE
if (keyboard_protocol && keymap_config.nkro) { if (keyboard_protocol && keymap_config.nkro) {

@ -184,7 +184,7 @@ void add_key_bit(report_keyboard_t* keyboard_report, uint8_t code);
void del_key_bit(report_keyboard_t* keyboard_report, uint8_t code); void del_key_bit(report_keyboard_t* keyboard_report, uint8_t code);
#endif #endif
void add_key_to_report(report_keyboard_t* keyboard_report, int8_t key); void add_key_to_report(report_keyboard_t* keyboard_report, uint8_t key);
void del_key_from_report(report_keyboard_t* keyboard_report, uint8_t key); void del_key_from_report(report_keyboard_t* keyboard_report, uint8_t key);
void clear_keys_from_report(report_keyboard_t* keyboard_report); void clear_keys_from_report(report_keyboard_t* keyboard_report);

Loading…
Cancel
Save