Add simplifiedUI to info object

This commit is contained in:
Woody 2023-11-13 13:36:21 +01:00
parent f1510f09eb
commit 09ffef93ed
No known key found for this signature in database
GPG Key ID: 9872D7F5072789B2

View File

@ -658,6 +658,7 @@ void serializeInfo(JsonObject root)
root[F("name")] = serverDescription; root[F("name")] = serverDescription;
root[F("udpport")] = udpPort; root[F("udpport")] = udpPort;
root[F("simplifiedui")] = simplifiedUI;
root["live"] = (bool)realtimeMode; root["live"] = (bool)realtimeMode;
root[F("liveseg")] = useMainSegmentOnly ? strip.getMainSegmentId() : -1; // if using main segment only for live root[F("liveseg")] = useMainSegmentOnly ? strip.getMainSegmentId() : -1; // if using main segment only for live