浏览代码

Removed volatile tag on dummy var systick_safe_read

main
Defragster 5 年前
父节点
当前提交
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;

正在加载...
取消
保存