summaryrefslogtreecommitdiffstats
path: root/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keebio/levinson/keymaps/issmirnov/rgb.c')
-rw-r--r--keyboards/keebio/levinson/keymaps/issmirnov/rgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c b/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c
index de3a5342c0..3695731353 100644
--- a/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c
+++ b/keyboards/keebio/levinson/keymaps/issmirnov/rgb.c
@@ -45,7 +45,7 @@ void matrix_scan_rgb(void) {
}
void set_rgb_indicators(uint8_t this_mod, uint8_t this_osm) {
- if (biton32(layer_state) == _QWERTY) {
+ if (get_highest_layer(layer_state) == _QWERTY) {
if ((this_mod | this_osm) & MOD_MASK_SHIFT) {
rgblight_setrgb_gold_at(SHFT_LED1);
} else {