projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change sreg type to cpuflags_t.
[bertos.git]
/
cpu
/
cpu.h
diff --git
a/cpu/cpu.h
b/cpu/cpu.h
index 57072753e0f08a35310024daea3335c15ecf5fbf..03a0827df5cf9d7518c772e997edb3f60fedcc19 100644
(file)
--- a/
cpu/cpu.h
+++ b/
cpu/cpu.h
@@
-205,7
+205,7
@@
#define CPU_READ_FLAGS() \
({ \
-
uint32
_t sreg; \
+
cpuflags
_t sreg; \
asm volatile ( \
"mrs %0, cpsr\n\t" \
: "=r" (sreg) \