Skip to content

Commit

Permalink
Strings in flash
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Dec 14, 2023
1 parent 1b5cc2a commit 076449a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wled00/json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -945,11 +945,11 @@ void serializeNetworks(JsonObject root)

for (int i = 0; i < status; i++) {
JsonObject node = networks.createNestedObject();
node["ssid"] = WiFi.SSID(i);
node["rssi"] = WiFi.RSSI(i);
node["bssid"] = WiFi.BSSIDstr(i);
node["channel"] = WiFi.channel(i);
node["enc"] = WiFi.encryptionType(i);
node[F("ssid")] = WiFi.SSID(i);
node[F("rssi")] = WiFi.RSSI(i);
node[F("bssid")] = WiFi.BSSIDstr(i);
node[F("channel")] = WiFi.channel(i);
node[F("enc")] = WiFi.encryptionType(i);
}

WiFi.scanDelete();
Expand Down

0 comments on commit 076449a

Please sign in to comment.