diff --git a/speedclock.ino b/speedclock.ino index 6816dd4..5dc6c37 100644 --- a/speedclock.ino +++ b/speedclock.ino @@ -478,10 +478,13 @@ void update_screen(timer_state_e state){ display.setCursor(64 - (display.strWidth(header_to_char) / 2), 0); display.print(header_to_char); display.setCursor(1,0); + //check if there is a connection to the topstation if(millis() - connection_established >= CONN_TIMEOUT || connection_established == 0){ + //if not remove the "Y" display.print(" "); } else { + //if print the "Y" display.print("Y"); } display.setCursor(0,1);