소스 검색

Update eeprom.c

close hole for race condition
teensy4-core
Defragster 8 년 전
부모
커밋
8a577902fd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      teensy3/eeprom.c

+ 1
- 1
teensy3/eeprom.c 파일 보기

@@ -203,8 +203,8 @@ void c_enable_irq( void ){
}
void c_disable_irq( void ){
if ( !__get_primask() ) { // Returns 0 if they are enabled, or non-zero if disabled
c_intrestore = 1;
__disable_irq( );
c_intrestore = 1;
}
}
static volatile uint8_t restore_hsrun = 0;

Loading…
취소
저장