diff --git a/application.c b/application.c index 6b414a0..5638ab1 100644 --- a/application.c +++ b/application.c @@ -1529,13 +1529,13 @@ void main(void) lcd_hd44780_write_line(true, line, strlen(line)); // write message } } +test_end: if (cable_changed) { // next cable because the current one (reuse allocated current for the next) struct cable_t* cable_tmp = cable_current; cable_current = cable_next; cable_next = cable_tmp; } -test_end:; } // !interactive while (!interactive && rtc_get_counter_val() >= last_connect_time + SHUTDOWN_TIMEOUT) { // time to shut down #if !DEBUG