From b8b75186fe96a695521402edc1dd015dfc684ffa Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Fri, 29 Jan 2021 18:30:16 +0100 Subject: [PATCH] Remove the extra copy of CRITICAL_SECTION from fastio --- Firmware/fastio.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Firmware/fastio.h b/Firmware/fastio.h index 94a029a6..855c000e 100644 --- a/Firmware/fastio.h +++ b/Firmware/fastio.h @@ -9,12 +9,6 @@ #include #include "macros.h" -#ifndef CRITICAL_SECTION_START - #define CRITICAL_SECTION_START unsigned char _sreg = SREG; cli(); - #define CRITICAL_SECTION_END SREG = _sreg; - #include -#endif //CRITICAL_SECTION_START - /* magic I/O routines