Skip to content

Commit

Permalink
remove debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
luni64 committed Jul 22, 2024
1 parent e9df097 commit 30ecd8f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/TimerModules/GPT/GPTChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ namespace TeensyTimerTool

errorCode GptChannel::setPeriod(float us) // not good, will generate one too long period if called before cnt == oldPeriod
{ // need to redo the timing using free running timer to get setPeriod and setNewPeriod working correctly
regs->OCR1 = us2ticks(us);
Serial.println(regs->OCR1);
regs->OCR1 = us2ticks(us);
return errorCode::OK;
}

Expand Down

0 comments on commit 30ecd8f

Please sign in to comment.