Skip to content

Commit

Permalink
quantum/action_util.c: Use uint8_t for oneshot_layer_data (qmk#20423)
Browse files Browse the repository at this point in the history
  • Loading branch information
labre authored and coquizen committed Jun 22, 2023
1 parent bb5e101 commit 0532a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/action_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0532a29

Please sign in to comment.