From 31604350419c7dbfa8e1f60c6572f9d71d32a634 Mon Sep 17 00:00:00 2001 From: hugo LAMY Date: Mon, 10 Mar 2025 10:21:32 +0100 Subject: [PATCH] updated sreg macro --- module02/ex01/interrupt.h | 4 ++-- module02/ex02/interrupt.h | 4 ++-- module02/ex03/interrupt.h | 4 ++-- module02/ex04/interrupt.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/module02/ex01/interrupt.h b/module02/ex01/interrupt.h index dccc1c5..9668ef7 100644 --- a/module02/ex01/interrupt.h +++ b/module02/ex01/interrupt.h @@ -2,7 +2,7 @@ #define INTERRUPT_H // 7.3.1 : SREG – AVR Status Register -#define ENABLE_GLOBAL_INTERRUPT (1<<7) -#define DISABLE_GLOBAL_INTERRUPT (0<<7) +#define ENABLE_GLOBAL_INTERRUPT (1<