瀏覽代碼

Removed volatile tag on dummy var systick_safe_read

teensy4-core
Defragster 6 年之前
父節點
當前提交
aa3b459699
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      teensy4/delay.c

+ 1
- 1
teensy4/delay.c 查看文件

@@ -5,7 +5,7 @@
//volatile uint32_t F_BUS = 132000000;
volatile uint32_t systick_millis_count = 0;
volatile uint32_t systick_cycle_count = 0;
volatile uint32_t systick_safe_read; // micros() synchronization
uint32_t systick_safe_read; // micros() synchronization

// page 411 says "24 MHz XTALOSC can be the external clock source of SYSTICK"
// Testing shows the frequency is actually 100 kHz - but how? Did NXP really

Loading…
取消
儲存