Skip to content

Commit 1067355

Browse files
committed
Bugfix: only do a single long pip
1 parent d462e3e commit 1067355

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sixtube_lm/sixtube_lm.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ void ctrlEvt(byte ctrl, byte evt){
313313
stoppingSignal = true;
314314
signalRemain = 0;
315315
if(signalType==0) noTone(signalPin);
316-
//If we're displaying the clock (as alarm trigger does), start snooze. 0 will have no effect
316+
//If we're displaying the clock (as alarm trigger does), start snooze. 0 will have no effect. TODO chime may trigger this also?
317317
if(fn==fnIsTime) snoozeRemain = readEEPROM(24,false)*60;
318318
return;
319319
}
@@ -690,7 +690,7 @@ void checkRTC(bool force){
690690
case 1: //single beep via normal signal cycle
691691
if(tod.minute()==0) signalRemain = 1; break;
692692
case 2: //long pip
693-
if(tod.minute()==0) tone(signalPin, signalPitch, (signalType==0?500:signalBeepDur));
693+
if(tod.minute()==0) tone(signalPin, signalPitch, (signalType==0?500:signalBeepDur)); break;
694694
case 3: //hour strike via normal signal cycle
695695
if(tod.minute()==0) signalRemain = hr; break;
696696
case 4: //ship's bell at :00 and :30 mins

0 commit comments

Comments
 (0)