Change macro name to IRQ_ENABLED.
[bertos.git] / app / at91sam7s / at91sam7s.c
index 4e75cf4e6372fa505bf62125fe3c0f398858fae6..57fdd8fde89a04268585ead10237cf8f5d31df43 100644 (file)
@@ -80,7 +80,7 @@ int main(void)
        timer_init();
 
        proc_init();
-       ASSERT(!IRQ_GETSTATE());
+       ASSERT(!IRQ_ENABLED());
 
 
 
@@ -90,7 +90,7 @@ int main(void)
        ser_setparity(host_port, SER_PARITY_NONE);
 
        IRQ_ENABLE;
-       ASSERT(IRQ_GETSTATE());
+       ASSERT(IRQ_ENABLED());
 
        /* Disable all pullups */
        PIOA_PUDR = 0xffffffff;