projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/lpc: Get USB working
[fw/altos]
/
src
/
lpc
/
ao_arch_funcs.h
diff --git
a/src/lpc/ao_arch_funcs.h
b/src/lpc/ao_arch_funcs.h
index 39222b9dab69f42a5f0ed0f3bf26177b54f2a72d..96ae0366f85bee03eb9caa0a5bf8718ade483975 100644
(file)
--- a/
src/lpc/ao_arch_funcs.h
+++ b/
src/lpc/ao_arch_funcs.h
@@
-124,7
+124,7
@@
static inline void ao_arch_restore_stack(void) {
/* Restore APSR */
asm("pop {r0}");
- asm("msr apsr,r0");
+ asm("msr apsr
_nczvq
,r0");
/* Restore general registers and return */
asm("pop {r0-r7,pc}\n");