mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Measure tip temperature 2nd
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user