Skip to content

Commit

Permalink
Merge pull request #631 from markjfisher/save-wifi-info
Browse files Browse the repository at this point in the history
Remove guard introduced for saving passwords
  • Loading branch information
tschak909 authored Jul 10, 2023
2 parents 15270e9 + 6e30e33 commit 3400768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/device/sio/fuji.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void sioFuji::sio_net_set_ssid()
fnWiFi.connect(cfg.ssid, cfg.password);

// Only save these if we're asked to, otherwise assume it was a test for connectivity
if (save && fnWiFi.connected() )
if (save)
{
// 1. if this is a new SSID and not in the old stored, we should push the current one to the top of the stored configs, and everything else down.
// 2. If this was already in the stored configs, push the stored one to the top, remove the new one from stored so it becomes current only.
Expand Down

0 comments on commit 3400768

Please sign in to comment.