Bug fixes.

This commit is contained in:
unlockable
2023-07-07 00:00:14 +08:00
parent 36859e0b29
commit c6073ca5b4

View File

@@ -75,9 +75,8 @@ void loop() {
break;
}
Serial.println(timed_length / 10 * 10);
LCD.setCursor(0, 1);
LCD.print(timed_length);
LCD.print(timed_length / 10 * 10);
if (analogRead(y_pin) > 800 && cur_tick - last_start_tick > 200) {
status = STOP | STATUS_CHANGED;