diff options
Diffstat (limited to 'ports/AVR')
-rw-r--r-- | ports/AVR/chcore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h index cb2920a2d..fe0f13e1f 100644 --- a/ports/AVR/chcore.h +++ b/ports/AVR/chcore.h @@ -108,6 +108,8 @@ typedef struct { #define chSysUnlock() asm volatile ("sei")
+#define chSysEnable() asm volatile ("sei")
+
#define chSysIRQEnterI() \
asm ("" : : : "r18", "r19", "r20", "r21", "r22", "r23", "r24", \
"r25", "r26", "r27", "r30", "r31");
|