From 01e51e5751a074135be20028d5fc36a0c263e004 Mon Sep 17 00:00:00 2001 From: Troy <5659019+troyhacks@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:57:58 -0400 Subject: [PATCH] More fixes for non-ESP32 boards --- wled00/wled.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wled00/wled.cpp b/wled00/wled.cpp index fd3b18f305..688d5ec156 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -503,8 +503,10 @@ void WLED::setup() #ifdef WLED_RELEASE_NAME USER_PRINTF(" WLEDMM_%s %s, build %s.\n", versionString, releaseString, TOSTRING(VERSION)); // WLEDMM specific #endif + #ifdef ARDUINO_ARCH_ESP32 const esp_partition_t *boot_partition = esp_ota_get_running_partition(); USER_PRINTF("Booted from: %s which is %u bytes and type %u subtype %u at address %x\n",boot_partition->label,boot_partition->size,boot_partition->type,boot_partition->subtype,boot_partition->address); + #endif #ifdef ARDUINO_ARCH_ESP32 DEBUG_PRINT(F("esp32 ")); DEBUG_PRINTLN(ESP.getSdkVersion());