Skip to content

Commit

Permalink
removed incorrect FrequencyTimer2 namespace from clockCyclesPerMicros…
Browse files Browse the repository at this point in the history
…econd
  • Loading branch information
sensorium committed Mar 11, 2017
1 parent 2fe874f commit 5766d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MozziGuts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ static void setupTimer2()
{
backupPreMozziTimer2(); // to reset while pausing
unsigned long period = 16000000UL/AUDIO_RATE;
period *= FrequencyTimer2::clockCyclesPerMicrosecond();
period *= clockCyclesPerMicrosecond();
FrequencyTimer2::setPeriodMicroSeconds(period);
FrequencyTimer2::setOnOverflow(dummy);
FrequencyTimer2::enable();
Expand Down

0 comments on commit 5766d9d

Please sign in to comment.