File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
software/esp-firmware/arduino_main_sketch.ino Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ void clockHandler(void)
228
228
else
229
229
{
230
230
// the following line is a workaround for a memory leak bug in arduino 2.4.0/2.4.1: https://github.com/esp8266/Arduino/issues/4497
231
- client = WiFiClient ();
231
+ // not required anymore on 2.4.2 client = WiFiClient();
232
232
client.connect (clockServer.name , clockServer.port );
233
233
}
234
234
}
Original file line number Diff line number Diff line change 28
28
locoInfo locos[4 ];
29
29
bool locoActive = false ;
30
30
31
- bool locoRunning[4 ];
31
+ // bool locoRunning[4];
32
32
33
33
bool inputState[4 ];
34
34
bool inputChanged[4 ];
@@ -132,7 +132,7 @@ void locoHandler(void)
132
132
;
133
133
client.stop ();
134
134
// the following line is a workaround for a memory leak bug in arduino 2.4.0/2.4.1: https://github.com/esp8266/Arduino/issues/4497
135
- client = WiFiClient ();
135
+ // not required any more in 2.4.2 client = WiFiClient();
136
136
client.setTimeout (1000 );
137
137
if (client.connect (locoServer.name , locoServer.port ))
138
138
{
You can’t perform that action at this time.
0 commit comments