Skip to content

Commit 845dfb0

Browse files
committed
Clean up main menu merge
1 parent 34e8093 commit 845dfb0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/ui_state/main_menu.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ def idle(self):
227227
"""
228228
Displays the idle screen.
229229
"""
230+
# pH line (line 1)
230231
if self.titrator.ph_probe.should_warn_about_calibration():
231232
self._set_next_state(PHCalibrationWarning(self.titrator, self), True)
232233

@@ -261,10 +262,7 @@ def idle(self):
261262

262263
self.titrator.lcd.print("".join(output), line=1)
263264

264-
self.titrator.lcd.print("", line=2)
265-
lcd = self.titrator.lcd
266-
lcd.print("Idle Line 1", line=1)
267-
265+
# Temperature line (line 2)
268266
thermal_control = self.titrator.thermal_control
269267
temperature = self.titrator.thermal_probe.get_running_average()
270268
status = "h" if thermal_control.get_heat(True) else "c"

0 commit comments

Comments
 (0)