diff --git a/src/portable/sony/cxd56/dcd_cxd56.c b/src/portable/sony/cxd56/dcd_cxd56.c index 38f3b5c7..638b2f97 100644 --- a/src/portable/sony/cxd56/dcd_cxd56.c +++ b/src/portable/sony/cxd56/dcd_cxd56.c @@ -30,6 +30,7 @@ #include #include +#include #include "device/dcd.h" @@ -168,7 +169,7 @@ void dcd_int_enable(uint8_t rhport) { (void) rhport; - __asm volatile ("cpsie i" : : : "memory"); + up_enable_irq(CXD56_IRQ_USB_INT); } // Disable device interrupt @@ -176,7 +177,7 @@ void dcd_int_disable(uint8_t rhport) { (void) rhport; - __asm volatile ("cpsid i" : : : "memory"); + up_disable_irq(CXD56_IRQ_USB_INT); } // Receive Set Address request, mcu port must also include status IN response