projects
/
gps-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd7c982
)
common: Use asm instead of __ASM in USB_OsaEnterCritical().
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 17 Jun 2019 04:44:40 +0000
(06:44 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 7 Jul 2019 07:58:43 +0000
(09:58 +0200)
src/common/usb_osa_bm.c
patch
|
blob
|
history
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)