diff options
Diffstat (limited to 'tmk_core/common')
-rw-r--r-- | tmk_core/common/report.c | 4 | ||||
-rw-r--r-- | tmk_core/common/report.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/common/report.c b/tmk_core/common/report.c index 74c6d3fdd4..4b25f4428c 100644 --- a/tmk_core/common/report.c +++ b/tmk_core/common/report.c @@ -176,7 +176,7 @@ void del_key_bit(report_keyboard_t* keyboard_report, uint8_t code) } #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 if (keyboard_protocol && keymap_config.nkro) { @@ -204,4 +204,4 @@ void clear_keys_from_report(report_keyboard_t* keyboard_report) for (int8_t i = 1; i < KEYBOARD_REPORT_SIZE; i++) { keyboard_report->raw[i] = 0; } -}
\ No newline at end of file +} diff --git a/tmk_core/common/report.h b/tmk_core/common/report.h index 899fc524cb..a0811f9a3c 100644 --- a/tmk_core/common/report.h +++ b/tmk_core/common/report.h @@ -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); #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 clear_keys_from_report(report_keyboard_t* keyboard_report); |