Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Clean up code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Dillingham authored and Steven Dillingham committed Aug 20, 2014
1 parent 49397ae commit 963bb05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dctt.ino
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,6 @@ void webAppJsonFile(WebServer &server, WebServer::ConnectionType type, char **ur
else if (type == WebServer::POST) {

root = aJson.parse(&webstream);
// How is this read??
network.settingsFromJSON(root);
network.printConfiguration();

Expand Down Expand Up @@ -1383,7 +1382,7 @@ void onData(WebSocket &socket, char* dataString, unsigned short frameLength) {

network.settingsFromJSON(cmd->child);
network.printConfiguration();
// Can we reset the network here or just simply leave as is until reset?
//The new configuration will not take effect until next reset.
aJson.deleteItem(root);
return;
}
Expand Down

0 comments on commit 963bb05

Please sign in to comment.