Skip to content

Commit

Permalink
enable WFI
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Jan 28, 2025
1 parent eba87be commit aa23d10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions firmware/boards/f0_module/chconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,12 @@
/* Port-specific settings (override port settings defaulted in chcore.h). */
/*===========================================================================*/

/**
* @brief Sleep at idle.
* @details This option enables call to __WFI() from idle thread to save power.
*/
#define CORTEX_ENABLE_WFI_IDLE TRUE

#endif /* CHCONF_H */

/** @} */

0 comments on commit aa23d10

Please sign in to comment.