summaryrefslogtreecommitdiffstats
path: root/keyboards/preonic/keymaps/dudeofawesome
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/keymaps/dudeofawesome')
-rw-r--r--keyboards/preonic/keymaps/dudeofawesome/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/preonic/keymaps/dudeofawesome/keymap.c b/keyboards/preonic/keymaps/dudeofawesome/keymap.c
index 2d2a252b23..812bf35a20 100644
--- a/keyboards/preonic/keymaps/dudeofawesome/keymap.c
+++ b/keyboards/preonic/keymaps/dudeofawesome/keymap.c
@@ -275,7 +275,7 @@ bool numpadActive = false;
float tone_numpad_on[][2] = SONG(NUMPAD_ON_SOUND);
void matrix_scan_user (void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
switch (layer) {
case _NUMPAD: