summaryrefslogtreecommitdiffstats
path: root/keyboards/lily58/lib/layer_state_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lily58/lib/layer_state_reader.c')
-rw-r--r--keyboards/lily58/lib/layer_state_reader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/lily58/lib/layer_state_reader.c b/keyboards/lily58/lib/layer_state_reader.c
index 48674b0673..0e9dd7039b 100644
--- a/keyboards/lily58/lib/layer_state_reader.c
+++ b/keyboards/lily58/lib/layer_state_reader.c
@@ -4,10 +4,10 @@
#include "lily58.h"
#define L_BASE 0
-#define L_LOWER 2
-#define L_RAISE 4
-#define L_ADJUST 8
-#define L_ADJUST_TRI 14
+#define L_LOWER (1 << 1)
+#define L_RAISE (1 << 2)
+#define L_ADJUST (1 << 3)
+#define L_ADJUST_TRI (L_ADJUST | L_RAISE | L_LOWER)
char layer_state_str[24];