From: Bernard Blackham Date: Fri, 15 Aug 2003 15:34:21 +0000 (+0000) Subject: Interrupt masking logic was backwards X-Git-Tag: ROMW~59 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=41b6cb4b069e9bc958c781616ba91efbaa44b43f;p=uccvend-snackrom.git Interrupt masking logic was backwards --- diff --git a/ROM2/asm.h b/ROM2/asm.h index 41e9fe2..c99d4a7 100644 --- 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 ("cli"); + asm volatile ("sei"); } extern inline void unlock() { - asm volatile ("sei"); + asm volatile ("cli"); } #endif /* _ASM_H_ */