Skip to content

Commit 16dd672

Browse files
committed
Fix for releasing button after version hold
1 parent 9690f73 commit 16dd672

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arduino-nixie/arduino-nixie.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,10 @@ void ctrlEvt(byte ctrl, byte evt, byte evtLast){
283283
#ifdef NETWORK_SUPPORTED
284284
initNetwork(); //we didn't do this earlier since the wifi connect makes the clock hang
285285
#endif
286-
} else return; //ignore other controls
286+
return;
287+
} else {
288+
return; //ignore other controls
289+
}
287290
} //end if versionShowing
288291

289292
//If the signal is going, any press should silence it

0 commit comments

Comments
 (0)