summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/tritium_numpad/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/tritium_numpad/keymaps')
-rw-r--r--keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c b/keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c
index b618675295..50bbf232b5 100644
--- a/keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c
+++ b/keyboards/handwired/tritium_numpad/keymaps/blu/keymap.c
@@ -9,7 +9,7 @@ void keyboard_pre_init_user(void)
layer_state_t layer_state_set_user(layer_state_t state)
{
// Switch layer LED accordingly
- switch (biton32(state)) {
+ switch (get_highest_layer(state)) {
case 0:
writePinHigh(B0);
break;