Fixed __WFI in __WFI().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6839 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
297e4befc1
commit
9b9f9e6798
|
@ -395,7 +395,7 @@ static inline void port_enable(void) {
|
|||
static inline void port_wait_for_interrupt(void) {
|
||||
|
||||
#if CORTEX_ENABLE_WFI_IDLE
|
||||
__WFI;
|
||||
__WFI();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -534,7 +534,7 @@ static inline void port_enable(void) {
|
|||
static inline void port_wait_for_interrupt(void) {
|
||||
|
||||
#if CORTEX_ENABLE_WFI_IDLE
|
||||
__WFI;
|
||||
__WFI();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue