File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2834,7 +2834,6 @@ void Wippersnapper::connect() {
28342834#endif
28352835
28362836 // Configure hardware
2837- WS.pinCfgCompleted = true ;
28382837 while (!WS.pinCfgCompleted ) {
28392838 WS_DEBUG_PRINTLN (
28402839 " Polling for message containing hardware configuration..." );
@@ -2901,26 +2900,26 @@ ws_status_t Wippersnapper::run() {
29012900 WS._mqtt ->processPackets (10 );
29022901 WS.feedWDT ();
29032902
2904- /* // Process digital inputs, digitalGPIO module
2903+ // Process digital inputs, digitalGPIO module
29052904 WS._digitalGPIO ->processDigitalInputs ();
29062905 WS.feedWDT ();
29072906
29082907 // Process analog inputs
29092908 WS._analogIO ->update ();
2910- WS.feedWDT(); */
2909+ WS.feedWDT ();
29112910
29122911 // Process I2C sensor events
29132912 if (WS._isI2CPort0Init )
29142913 WS._i2cPort0 ->update ();
29152914 WS.feedWDT ();
29162915
2917- /* // Process DS18x20 sensor events
2916+ // Process DS18x20 sensor events
29182917 WS._ds18x20Component ->update ();
29192918 WS.feedWDT ();
29202919
29212920 // Process UART sensor events
29222921 WS._uartComponent ->update ();
2923- WS.feedWDT(); */
2922+ WS.feedWDT ();
29242923
29252924 return WS_NET_CONNECTED; // TODO: Make this funcn void!
29262925}
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ bool Wippersnapper::encodePubRegistrationReq() {
7777/* ***************************************************************************/
7878void Wippersnapper::pollRegistrationResp () {
7979 // Blocking loop, WDT reset upon failure.
80- WS._boardStatus = WS_BOARD_DEF_OK;
8180 while (WS._boardStatus != WS_BOARD_DEF_OK) {
8281 WS_DEBUG_PRINT (" Polling for registration message response..." );
8382 WS_DEBUG_PRINTLN (WS._boardStatus );
You can’t perform that action at this time.
0 commit comments