More fixes for non-ESP32 boards

This commit is contained in:
Troy
2024-08-21 13:57:58 -04:00
parent ef6bedee76
commit 01e51e5751

View File

@@ -503,8 +503,10 @@ void WLED::setup()
#ifdef WLED_RELEASE_NAME #ifdef WLED_RELEASE_NAME
USER_PRINTF(" WLEDMM_%s %s, build %s.\n", versionString, releaseString, TOSTRING(VERSION)); // WLEDMM specific USER_PRINTF(" WLEDMM_%s %s, build %s.\n", versionString, releaseString, TOSTRING(VERSION)); // WLEDMM specific
#endif #endif
#ifdef ARDUINO_ARCH_ESP32
const esp_partition_t *boot_partition = esp_ota_get_running_partition(); 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); 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 #ifdef ARDUINO_ARCH_ESP32
DEBUG_PRINT(F("esp32 ")); DEBUG_PRINT(F("esp32 "));
DEBUG_PRINTLN(ESP.getSdkVersion()); DEBUG_PRINTLN(ESP.getSdkVersion());