summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/traveller/keymaps/default
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/traveller/keymaps/default')
-rw-r--r--keyboards/handwired/traveller/keymaps/default/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/handwired/traveller/keymaps/default/keymap.c b/keyboards/handwired/traveller/keymaps/default/keymap.c
index 288acbe108..2cd57db35f 100644
--- a/keyboards/handwired/traveller/keymaps/default/keymap.c
+++ b/keyboards/handwired/traveller/keymaps/default/keymap.c
@@ -219,7 +219,7 @@ void LayerLEDSet(uint8_t layr) {
uint8_t old_layer = _QW;
void matrix_scan_user(void) {
- uint8_t layer = biton32(layer_state);
+ uint8_t layer = get_highest_layer(layer_state);
if (old_layer != layer) {
LayerLEDSet(layer);