Skip to content

Commit

Permalink
Restored sending system config when device config is requested.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMueller2003 committed Oct 15, 2021
1 parent 4c53f16 commit c039cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ESPixelStick/src/WebMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ void c_WebMgr::processCmdGet (JsonObject & jsonCmd)
size_t bufferoffset = strlen(WebSocketFrameCollectionBuffer);
size_t BufferFreeSize = sizeof (WebSocketFrameCollectionBuffer) - bufferoffset;

if (jsonCmd[CN_get] == CN_system)
if ((jsonCmd[CN_get] == CN_system) || (jsonCmd[CN_get] == CN_device))
{
// DEBUG_V ("system");
FileMgr.ReadConfigFile (ConfigFileName,
Expand Down

0 comments on commit c039cbe

Please sign in to comment.