git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Interrupt masking logic was backwards
[uccvend-snackrom.git]
/
ROM2
/
asm.h
diff --git
a/ROM2/asm.h
b/ROM2/asm.h
index
41e9fe2
..
c99d4a7
100644
(file)
--- a/
ROM2/asm.h
+++ b/
ROM2/asm.h
@@
-35,11
+35,11
@@
extern inline void bclr(const void* addr, const u8 mask) {
}
extern inline void lock() {
- asm volatile ("
cl
i");
+ asm volatile ("
se
i");
}
extern inline void unlock() {
- asm volatile ("
se
i");
+ asm volatile ("
cl
i");
}
#endif /* _ASM_H_ */
UCC
git Repository :: git.ucc.asn.au