summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-07-10 15:40:49 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-07-10 15:40:49 +0800
commitb22ebf0a6ab139e41e01c63a022d65833bac1ca2 (patch)
tree083692c9a267f520917c212a9b9ce8b5c3bc718b /keyboards
parent7ca5fed13a1a1e06b1cfc999330c9cf0157a8316 (diff)
Updated rules.mk
Diffstat (limited to 'keyboards')
-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