diff --git a/remote/src/state_fly.cpp b/remote/src/state_fly.cpp index dfd7e51..fb07818 100644 --- a/remote/src/state_fly.cpp +++ b/remote/src/state_fly.cpp @@ -217,8 +217,6 @@ void LCD_state_fly::update(void) akku_remote = 0; this->print_akku_remote(akku_remote); break; - case 50: - //print_frskyd_telemetry(); default: break; @@ -232,8 +230,10 @@ void LCD_state_fly::update(void) uint32_t wait = next_callback_time; wait -= (end__ - start); delayMicroseconds(wait); - if((end__ - start) > 1000 ) - debug("call %d waited %lu timed %lu vs wait %lu \n", call,next_callback_time, wait, (end__ - start)); + /* if((end__ - start) > 1000 ) { */ + /* debug("call %d waited %lu timed %lu vs wait %lu \n", call,next_callback_time, wait, (end__ - start)); */ + /* print_frskyd_telemetry(); */ + /* } */ } end__ = micros(); } diff --git a/remote/src/state_init.cpp b/remote/src/state_init.cpp index 98de2e9..2530d30 100644 --- a/remote/src/state_init.cpp +++ b/remote/src/state_init.cpp @@ -22,7 +22,7 @@ void LCD_state_init::update(void) uint32_t diff; delay(100); diff = millis() - this->time_enter; - if (diff > 5 * 1000) { + if (diff > 3 * 1000) { new_state = s_joy; debugln("read start"); delay(1000);