Skip to content

Commit

Permalink
Added static variable section in main.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Clovis Durand <[email protected]>
  • Loading branch information
Clovel committed Dec 12, 2019
1 parent 117f23f commit c899df8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions software/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ elec::Switch *gSwitch = nullptr;
WiFiManager *gWiFiMgr = nullptr;
WiFiServer *gServer = nullptr;

/* Static variables ------------------------------------ */
static std::string sRequest;

/* On-boot routine */
Expand Down

0 comments on commit c899df8

Please sign in to comment.