Fix more instances of wrong define used
This commit is contained in:
parent
0a268ebfc3
commit
e124c142f2
|
@ -142,7 +142,7 @@ void main_iggy(void) {
|
|||
gpioSetValue (RB_LCD_BL, 0);
|
||||
SCB_SCR |= SCB_SCR_SLEEPDEEP;
|
||||
PMU_PMUCTRL = PMU_PMUCTRL_DPDEN_DEEPPOWERDOWN;
|
||||
#ifdef ARM
|
||||
#ifdef __arm__
|
||||
__asm volatile ("WFI");
|
||||
#endif
|
||||
}else{
|
||||
|
|
|
@ -1937,7 +1937,7 @@ typedef struct
|
|||
|
||||
#define NVIC ((NVIC_Type *) NVIC_BASE_ADDRESS)
|
||||
|
||||
#ifdef ARM
|
||||
#ifdef __arm__
|
||||
static inline void __enable_irq() { __asm volatile ("cpsie i"); }
|
||||
static inline void __disable_irq() { __asm volatile ("cpsid i"); }
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue