summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorManuel Ullmann <labre@posteo.de>2023-04-12 14:24:07 +0000
committerGitHub <noreply@github.com>2023-04-12 07:24:07 -0700
commit150219318198af40f7e10f375f7808a63bf5a2ee (patch)
treede5db73d4da9b0693ed67b3dbe31976e14112b4c /quantum
parente77699a58abe33dbe399343136dbe52822b35d86 (diff)
quantum/action_util.c: Use uint8_t for oneshot_layer_data (#20423)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/action_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/action_util.c b/quantum/action_util.c
index 034c2ecaae..361f410d2d 100644
--- 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;