aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2019-06-11 02:45:00 -0700
committerDrashna Jaelre <drashna@live.com>2019-06-11 02:45:00 -0700
commitd0c29f25c9d2fae826e8ed66bfc9a1c51d0de6a4 (patch)
treee7c6e673a7de17f59fe3af328ca9a2a3056ecad7 /keyboards
parentc3c61dc76ea07ece799d7fc5edf63b700dbd346c (diff)
downloadfirmware-d0c29f25c9d2fae826e8ed66bfc9a1c51d0de6a4.tar.gz
firmware-d0c29f25c9d2fae826e8ed66bfc9a1c51d0de6a4.tar.bz2
firmware-d0c29f25c9d2fae826e8ed66bfc9a1c51d0de6a4.zip
[Keyboard] Fix the layer state messages for actual values (#6116)
- display adjust when the bits are set correctly
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/lily58/lib/layer_state_reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/lily58/lib/layer_state_reader.c b/keyboards/lily58/lib/layer_state_reader.c
index 58f406bbc..48674b067 100644
--- a/keyboards/lily58/lib/layer_state_reader.c
+++ b/keyboards/lily58/lib/layer_state_reader.c
@@ -6,8 +6,8 @@
#define L_BASE 0
#define L_LOWER 2
#define L_RAISE 4
-#define L_ADJUST 65536
-#define L_ADJUST_TRI 65542
+#define L_ADJUST 8
+#define L_ADJUST_TRI 14
char layer_state_str[24];