diff --git a/main/main.ino b/main/main.ino index 83f7bc9d5d1ca0aa40b78a82c13af035f3b205c2..02edc9c27158df83b91619c6e15f90c96e6efc01 100644 --- a/main/main.ino +++ b/main/main.ino @@ -62,7 +62,6 @@ void loop() { if (IR_check_val != 0 && cur_status == IR_check_val) { cur_loop_count += 1; if (cur_loop_count > 800) { - Serial.println("RECOVERY CODE"); status_repeat = true; } else { @@ -76,6 +75,7 @@ void loop() { } if (status_repeat) { + Serial.println("RECOVERY CODE"); move_both(motors, 255); continue; }