Browse Source

Removed volatile tag on dummy var systick_safe_read

main
Defragster 5 years ago
parent
commit
aa3b459699
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/delay.c

+ 1
- 1
teensy4/delay.c View File

//volatile uint32_t F_BUS = 132000000; //volatile uint32_t F_BUS = 132000000;
volatile uint32_t systick_millis_count = 0; volatile uint32_t systick_millis_count = 0;
volatile uint32_t systick_cycle_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" // 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 // Testing shows the frequency is actually 100 kHz - but how? Did NXP really

Loading…
Cancel
Save