projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common: Use asm instead of __ASM in USB_OsaEnterCritical().
[gps-watch.git]
/
src
/
common
/
usb_osa_bm.c
diff --git
a/src/common/usb_osa_bm.c
b/src/common/usb_osa_bm.c
index 74fb9890dc8779add229752166afa4da67593630..ddfa30f4d931fb206ef20aaa17f2268a760be3e2 100644
(file)
--- 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)