Measure tip temperature 2nd

This commit is contained in:
Ben V. Brown
2024-06-02 16:10:23 +10:00
parent e530f39785
commit 4252fb1e24
2 changed files with 4 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ void timer0_comp2_callback(void) {
void switchToFastPWM(void) {
inFastPWMMode = true;
holdoffTicks = 10;
holdoffTicks = 20;
tempMeasureTicks = 10;
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;
@@ -140,7 +140,7 @@ void switchToFastPWM(void) {
void switchToSlowPWM(void) {
// 5Hz
inFastPWMMode = false;
holdoffTicks = 5;
holdoffTicks = 10;
tempMeasureTicks = 5;
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;