From b3bcafcc4bf1314632af822db9ddb1783ebb97cf Mon Sep 17 00:00:00 2001 From: fauxpark Date: Tue, 19 Dec 2017 19:41:51 +1100 Subject: Unsign key argument in add_key_to_report --- tmk_core/common/report.c | 4 ++-- tmk_core/common/report.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tmk_core') 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); -- cgit v1.2.3