]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/stm32_onekey/chconf.h
STM32F103x fixes.
[max/tmk_keyboard.git] / keyboard / stm32_onekey / chconf.h
index da4160b6ea82f26bc7c053dfaadcf7d7ae297143..be362a95f236185e051fc35eb8da762270f955e2 100644 (file)
  */
 #define CH_CFG_NO_IDLE_THREAD               FALSE
 
+/* Use __WFI in the idle thread for waiting. Does lower the power
+ * consumption. */
+#define CORTEX_ENABLE_WFI_IDLE              TRUE
+
 /** @} */
 
 /*===========================================================================*/