common: Use asm instead of __ASM in USB_OsaEnterCritical().
authorTilman Sauerbeck <tilman@code-monkey.de>
Mon, 17 Jun 2019 04:44:40 +0000 (06:44 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 7 Jul 2019 07:58:43 +0000 (09:58 +0200)
src/common/usb_osa_bm.c

index 74fb9890dc8779add229752166afa4da67593630..ddfa30f4d931fb206ef20aaa17f2268a760be3e2 100644 (file)
@@ -121,7 +121,7 @@ void USB_OsaMemoryFree(void *p)
 void USB_OsaEnterCritical(uint32_t *sr)
 {
     *sr = DisableGlobalIRQ();
-    __ASM("CPSID I");
+    asm("CPSID I");
 }
 
 void USB_OsaExitCritical(uint32_t sr)