Skip to content

Commit 3924943

Browse files
committed
Five cleaning cycles at every interval except minutely
1 parent e5e4cba commit 3924943

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sixtube_lm/sixtube_lm.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ void checkRTC(bool force){
623623
} //end alarm trigger
624624
//If cleaner is set to option value 0 (at night end time, or alarm time if night end is 0:00), run it at that time
625625
if(readEEPROM(46,false)==0 && tod.hour()*60+tod.minute()==(readEEPROM(30,true)==0?readEEPROM(0,true):readEEPROM(30,true))) {
626-
cleanRemain = 11; //loop() will pick this up
626+
cleanRemain = 51; //five cycles. loop() will pick this up
627627
}
628628
}
629629
if(tod.second()==30 && fn==fnIsTime && fnSetPg==0 && unoffRemain==0) { //At bottom of minute, maybe show date - not when unoffing
@@ -633,13 +633,13 @@ void checkRTC(bool force){
633633
if(tod.second()==1) { //If cleaner is set to option value >0, run the cleaner at second :01 as applicable
634634
switch(readEEPROM(46,false)) {
635635
case 1: //at 00:00:01
636-
if(tod.hour()==0 && tod.minute()==0) cleanRemain = 11;
636+
if(tod.hour()==0 && tod.minute()==0) cleanRemain = 51; //five cycles
637637
break;
638638
case 2: //at :00:01
639-
if(tod.minute()==0) cleanRemain = 11;
639+
if(tod.minute()==0) cleanRemain = 51; //five cycles
640640
break;
641641
case 3: //at :01
642-
cleanRemain = 11;
642+
cleanRemain = 11; //one cycle
643643
break;
644644
default: break; //case 0 is handled at top of minute
645645
}

0 commit comments

Comments
 (0)