diff --git a/esp3d/esp3d.cpp b/esp3d/esp3d.cpp index 4ea5b6fc..20873bd3 100644 --- a/esp3d/esp3d.cpp +++ b/esp3d/esp3d.cpp @@ -109,12 +109,6 @@ void Esp3D::begin(uint16_t startdelayms, uint16_t recoverydelayms) #ifdef ESP_OLED_FEATURE OLED_DISPLAY::begin(); OLED_DISPLAY::splash(); -#endif -#ifdef ARDUINO_ARCH_ESP8266 - struct rst_info *rtc_info = system_get_rst_info(); -#else - RESET_REASON reason_0 = rtc_get_reset_reason(0); - RESET_REASON reason_1 = rtc_get_reset_reason(1); #endif bool breset_config = false; web_interface = NULL;