qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit b3bcafcc4bf1314632af822db9ddb1783ebb97cf
parent b8f08d936d25ff081cfdd5dfbf8ed156dca2bba8
Author: fauxpark <fauxpark@gmail.com>
Date:   Tue, 19 Dec 2017 19:41:51 +1100

Unsign key argument in add_key_to_report

Diffstat:
tmk_core/common/report.c | 5++---
tmk_core/common/report.h | 2+-
2 files changed, 3 insertions(+), 4 deletions(-)

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