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() {
2834
2834
#endif
2835
2835
2836
2836
// Configure hardware
2837
- WS.pinCfgCompleted = true ;
2838
2837
while (!WS.pinCfgCompleted ) {
2839
2838
WS_DEBUG_PRINTLN (
2840
2839
" Polling for message containing hardware configuration..." );
@@ -2901,26 +2900,26 @@ ws_status_t Wippersnapper::run() {
2901
2900
WS._mqtt ->processPackets (10 );
2902
2901
WS.feedWDT ();
2903
2902
2904
- /* // Process digital inputs, digitalGPIO module
2903
+ // Process digital inputs, digitalGPIO module
2905
2904
WS._digitalGPIO ->processDigitalInputs ();
2906
2905
WS.feedWDT ();
2907
2906
2908
2907
// Process analog inputs
2909
2908
WS._analogIO ->update ();
2910
- WS.feedWDT(); */
2909
+ WS.feedWDT ();
2911
2910
2912
2911
// Process I2C sensor events
2913
2912
if (WS._isI2CPort0Init )
2914
2913
WS._i2cPort0 ->update ();
2915
2914
WS.feedWDT ();
2916
2915
2917
- /* // Process DS18x20 sensor events
2916
+ // Process DS18x20 sensor events
2918
2917
WS._ds18x20Component ->update ();
2919
2918
WS.feedWDT ();
2920
2919
2921
2920
// Process UART sensor events
2922
2921
WS._uartComponent ->update ();
2923
- WS.feedWDT(); */
2922
+ WS.feedWDT ();
2924
2923
2925
2924
return WS_NET_CONNECTED; // TODO: Make this funcn void!
2926
2925
}
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ bool Wippersnapper::encodePubRegistrationReq() {
77
77
/* ***************************************************************************/
78
78
void Wippersnapper::pollRegistrationResp () {
79
79
// Blocking loop, WDT reset upon failure.
80
- WS._boardStatus = WS_BOARD_DEF_OK;
81
80
while (WS._boardStatus != WS_BOARD_DEF_OK) {
82
81
WS_DEBUG_PRINT (" Polling for registration message response..." );
83
82
WS_DEBUG_PRINTLN (WS._boardStatus );
You can’t perform that action at this time.
0 commit comments