From: Tilman Sauerbeck Date: Mon, 17 Jun 2019 04:44:40 +0000 (+0200) Subject: common: Use asm instead of __ASM in USB_OsaEnterCritical(). X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=ec81131dc9af0606bef61f42d3230b70c3fef6e8;p=gps-watch.git common: Use asm instead of __ASM in USB_OsaEnterCritical(). --- diff --git a/src/common/usb_osa_bm.c b/src/common/usb_osa_bm.c index 74fb989..ddfa30f 100644 --- a/src/common/usb_osa_bm.c +++ b/src/common/usb_osa_bm.c @@ -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)