summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q5_pro/rules.mk
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-07-10 15:37:04 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-07-10 15:37:04 +0800
commit1c82920aa6ca166d832fa5384219e7000ce2db4c (patch)
treeb6955a37a1d729b70b60c983e48fc82830846e7b /keyboards/keychron/q5_pro/rules.mk
parentc95fb11c98599bede0b339904e2818d69761c6df (diff)
Updated rules.mk
Diffstat (limited to 'keyboards/keychron/q5_pro/rules.mk')
-rwxr-xr-xkeyboards/keychron/q5_pro/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/keychron/q5_pro/rules.mk b/keyboards/keychron/q5_pro/rules.mk
index 6df2ef9e32..98cf5c564b 100755
--- a/keyboards/keychron/q5_pro/rules.mk
+++ b/keyboards/keychron/q5_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
OPT_DEFS += -DKC_BLUETOOTH_ENABLE