From 41b6cb4b069e9bc958c781616ba91efbaa44b43f Mon Sep 17 00:00:00 2001 From: Bernard Blackham Date: Fri, 15 Aug 2003 15:34:21 +0000 Subject: [PATCH] Interrupt masking logic was backwards --- ROM2/asm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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_ */ -- 2.20.1