소스 검색

Removed volatile tag on dummy var systick_safe_read

teensy4-core
Defragster 6 년 전
부모
커밋
c5b49f13c9
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      teensy4/EventResponder.cpp

+ 1
- 1
teensy4/EventResponder.cpp 파일 보기

@@ -337,7 +337,7 @@ void MillisTimer::runFromTimer()
// TODO: this doesn't work for IMXRT - no longer using predefined names
extern "C" volatile uint32_t systick_millis_count;
extern "C" volatile uint32_t systick_cycle_count;
extern "C" volatile uint32_t systick_safe_read; // micros() synchronization
extern "C" uint32_t systick_safe_read; // micros() synchronization
extern "C" void systick_isr(void)
{
systick_cycle_count = ARM_DWT_CYCCNT;

Loading…
취소
저장