X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=keyboard%2Fstm32_onekey%2Fchconf.h;h=be362a95f236185e051fc35eb8da762270f955e2;hb=7aab3bb21a3a62ce85a1f4b042508a335d6ed028;hp=da4160b6ea82f26bc7c053dfaadcf7d7ae297143;hpb=9178ea2d73511786182317fe3e7b8ffc02cc3dc4;p=max%2Ftmk_keyboard.git diff --git a/keyboard/stm32_onekey/chconf.h b/keyboard/stm32_onekey/chconf.h index da4160b6..be362a95 100644 --- a/keyboard/stm32_onekey/chconf.h +++ b/keyboard/stm32_onekey/chconf.h @@ -103,6 +103,10 @@ */ #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 + /** @} */ /*===========================================================================*/