Преглед на файлове

Remove the extra copy of CRITICAL_SECTION from fastio

Yuri D'Elia преди 4 години
родител
ревизия
b8b75186fe
променени са 1 файла, в които са добавени 0 реда и са изтрити 6 реда
  1. 0 6
      Firmware/fastio.h

+ 0 - 6
Firmware/fastio.h

@@ -9,12 +9,6 @@
 #include <avr/io.h>
 #include "macros.h"
 
-#ifndef CRITICAL_SECTION_START
-  #define CRITICAL_SECTION_START  unsigned char _sreg = SREG; cli();
-  #define CRITICAL_SECTION_END    SREG = _sreg;
-  #include <avr/interrupt.h>
-#endif //CRITICAL_SECTION_START
-
 
 /*
   magic I/O routines