Unsign key argument in add_key_to_report

master
fauxpark 2017-12-19 19:41:51 +11:00 committed by Jack Humbert
parent b8f08d936d
commit b3bcafcc4b
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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);