qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit 150219318198af40f7e10f375f7808a63bf5a2ee
parent e77699a58abe33dbe399343136dbe52822b35d86
Author: Manuel Ullmann <labre@posteo.de>
Date:   Wed, 12 Apr 2023 14:24:07 +0000

quantum/action_util.c: Use uint8_t for oneshot_layer_data (#20423)


Diffstat:
Mquantum/action_util.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quantum/action_util.c b/quantum/action_util.c @@ -90,7 +90,7 @@ bool has_oneshot_mods_timed_out(void) { * L => are layer bits * S => oneshot state bits */ -static int8_t oneshot_layer_data = 0; +static uint8_t oneshot_layer_data = 0; inline uint8_t get_oneshot_layer(void) { return oneshot_layer_data >> 3;