Skip to content
Snippets Groups Projects
Commit 5a6dafaf authored by Claudio Indellicati's avatar Claudio Indellicati Committed by Claudio Indellicati
Browse files

Fixed default maximum frequency calculation in Tone.cpp.

parent cb722cfd
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
#define WAIT_TC16_REGS_SYNC(x) while(x->COUNT16.STATUS.bit.SYNCBUSY);
uint32_t toneMaxFrequency = SystemCoreClock / 2;
uint32_t toneMaxFrequency = F_CPU / 2;
uint32_t lastOutputPin = 0xFFFFFFFF;
volatile uint32_t *portToggleRegister;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment