summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q2_pro/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q2_pro/rules.mk')
-rw-r--r--keyboards/keychron/q2_pro/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/keychron/q2_pro/rules.mk b/keyboards/keychron/q2_pro/rules.mk
index ff623c30c0..1f9fc1ab58 100644
--- a/keyboards/keychron/q2_pro/rules.mk
+++ b/keyboards/keychron/q2_pro/rules.mk
@@ -1,3 +1,5 @@
+# Enter lower-power sleep mode when on the ChibiOS idle thread
+OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
SRC += matrix.c