mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 08:27:56 +06:00
quantum/action_util.c: Use uint8_t for oneshot_layer_data (#20423)
This commit is contained in:
parent
e77699a58a
commit
1502193181
|
@ -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…
Reference in New Issue
Block a user