瀏覽代碼

synchro ref note for var

teensy4-core
Defragster 6 年之前
父節點
當前提交
1a8060854d
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      teensy4/EventResponder.cpp

+ 1
- 0
teensy4/EventResponder.cpp 查看文件

@@ -337,6 +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" void systick_isr(void)
{
systick_cycle_count = ARM_DWT_CYCCNT;

Loading…
取消
儲存