Browse Source

synchro ref note for var

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

+ 1
- 0
teensy4/EventResponder.cpp View File

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