Browse Source

Removed volatile tag on dummy var systick_safe_read

teensy4-core
Defragster 6 years ago
parent
commit
c5b49f13c9
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/EventResponder.cpp

+ 1
- 1
teensy4/EventResponder.cpp View File

@@ -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…
Cancel
Save