소스 검색

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