summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/tmov2/rules.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-01-03 09:58:34 +1100
committerNick Brassel <nick@tzarc.org>2020-01-28 23:45:42 +1100
commit4d06d2835c87f3eed694493fb749527032a78ec2 (patch)
treebcdee649bdfa6fc26f749ff026681946610b6714 /keyboards/cannonkeys/tmov2/rules.mk
parent92c62352cf869a4099eb821b9e7d56d303bbec7b (diff)
Move CORTEX_ENABLE_WFI_IDLE=TRUE to rules.mk files.
Diffstat (limited to 'keyboards/cannonkeys/tmov2/rules.mk')
-rw-r--r--keyboards/cannonkeys/tmov2/rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/tmov2/rules.mk b/keyboards/cannonkeys/tmov2/rules.mk
index e6f0ce30a1..646288504c 100644
--- a/keyboards/cannonkeys/tmov2/rules.mk
+++ b/keyboards/cannonkeys/tmov2/rules.mk
@@ -21,3 +21,6 @@ CUSTOM_MATRIX = no # Custom matrix file
# BACKLIGHT_ENABLE = yes # This is broken on 072 right now
RGBLIGHT_ENABLE = yes
+
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE