File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
platforms/chibios/boards/common/configs Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 749
749
* should be invoked from here.
750
750
* @note This macro can be used to activate a power saving mode.
751
751
*/
752
- #if !defined(CH_CFG_IDLE_ENTER_HOOK )
753
752
#define CH_CFG_IDLE_ENTER_HOOK () { \
754
753
/* Idle-enter code here.*/ \
755
754
}
756
- #endif
755
+
757
756
/**
758
757
* @brief Idle thread leave hook.
759
758
* @note This hook is invoked within a critical zone, no OS functions
760
759
* should be invoked from here.
761
760
* @note This macro can be used to deactivate a power saving mode.
762
761
*/
763
- #if !defined(CH_CFG_IDLE_LEAVE_HOOK )
764
762
#define CH_CFG_IDLE_LEAVE_HOOK () { \
765
763
/* Idle-leave code here.*/ \
766
764
}
767
- #endif
765
+
768
766
/**
769
767
* @brief Idle Loop hook.
770
768
* @details This hook is continuously invoked by the idle thread loop.
You can’t perform that action at this time.
0 commit comments