summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-07-10 15:38:59 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-07-10 15:38:59 +0800
commit29a5f3a4d132638f7924e45083eab21b5028d91f (patch)
treeb3e57138b4c9e7946c2c57d095c145e60a2ef8d7 /keyboards
parent61b0ee2b1240338e9e9c499f0c4ef0885b736f1b (diff)
Updated rules.mk
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/keychron/k1_pro/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/keychron/k1_pro/rules.mk b/keyboards/keychron/k1_pro/rules.mk
index ff623c30c0..1f9fc1ab58 100644
--- a/keyboards/keychron/k1_pro/rules.mk
+++ b/keyboards/keychron/k1_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