瀏覽代碼

Removed volatile tag on dummy var systick_safe_read

teensy4-core
Defragster 6 年之前
父節點
當前提交
c5b49f13c9
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存