Skip to content

Commit 87d8b51

Browse files
committed
enabled the save settings !command
1 parent 97a14d6 commit 87d8b51

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

sfeIoTNodeLoRaWAN/sfeNLCommands.h

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,14 @@ class sfeNLCommands
157157
if (!theApp)
158158
return false;
159159

160-
flxLog_I(F("Save Settings - Not Implemented"));
161-
162-
// // Just call save
163-
// bool status = flxSettings.save(&flux);
164-
// if (status)
165-
// flxLog_I(F("Saving System Settings."));
166-
// else
167-
// flxLog_E(F("Error saving settings"));
168-
169-
// return status;
160+
// Just call save
161+
bool status = flxSettings.save(&flux);
162+
if (status)
163+
flxLog_I(F("Saving System Settings."));
164+
else
165+
flxLog_E(F("Error saving settings"));
170166

171-
return true;
167+
return status;
172168
}
173169
//---------------------------------------------------------------------
174170
///

0 commit comments

Comments
 (0)