summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/keymaps/twey/keymap.c
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-23 18:11:59 +0700
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-23 18:11:59 +0700
commitb27a8dea1bfd50e4e2428235b5dba0d9a4bb8cba (patch)
treedb6ee0b1987da0d56846560082a9fb7a5195e9d9 /keyboards/ergodox/keymaps/twey/keymap.c
parent3dab8a60fca182376d1df07d3f1e25882aa57be4 (diff)
parent84b2f86f24b8e12973dccbdb9120cac5353947df (diff)
Merge branch 'master' into promethium
Diffstat (limited to 'keyboards/ergodox/keymaps/twey/keymap.c')
-rw-r--r--keyboards/ergodox/keymaps/twey/keymap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/ergodox/keymaps/twey/keymap.c b/keyboards/ergodox/keymaps/twey/keymap.c
index 5deacd63f5..1ecbce4661 100644
--- a/keyboards/ergodox/keymaps/twey/keymap.c
+++ b/keyboards/ergodox/keymaps/twey/keymap.c
@@ -205,6 +205,7 @@ void matrix_init_user(void) {
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {
+ __attribute__ ((unused))
uint32_t layer0 = layer_state & (1UL << 0),
layer1 = layer_state & (1UL << 1),
layer2 = layer_state & (1UL << 2),