Browse Source

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

pull/20432/head
Manuel Ullmann 1 year ago
committed by GitHub
parent
commit
1502193181
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      quantum/action_util.c

+ 1
- 1
quantum/action_util.c View File

@ -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;


Loading…
Cancel
Save