older framework support - chip_info.full_revision

this field was added to chip_info in esp-idf 4.4.4 => use "revision" for older frameworks  versions
This commit is contained in:
Frank
2025-11-27 20:57:53 +01:00
parent e75073c429
commit b9ba15a61f
2 changed files with 5 additions and 1 deletions

View File

@@ -939,7 +939,7 @@ void serializeInfo(JsonObject root)
root[F("release")] = FPSTR(releaseString);
root[F("rel")] = FPSTR(releaseString); //WLEDMM to add bin name
root[F("deviceId")] = getDeviceId();
root[F("deviceId")] = getDeviceId();
JsonObject leds = root.createNestedObject("leds");
leds[F("count")] = strip.getLengthTotal();