File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ been possible!**
196
196
* Improved WiFi connection stability
197
197
This required the latest version of ESP firmware.
198
198
And also some changes to the TCP/NMEA server.
199
+ * #96 : make wifi led go green when we have a websocket client connected
199
200
* 2018 04 23 - v1.2.3
200
201
* Repeat all NMEA and NMEA2000 data to the computer when the serial port is
201
202
opened at 38400 bauds.
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ void loop() {
153
153
lastMessageTimer = 0 ;
154
154
}
155
155
156
- if (server.clientsCount () > 0 ) {
156
+ if (server.clientsCount () + webServer. countClients () > 0 ) {
157
157
rgb.setPixelColor (0 , clientsConnectedColor);
158
158
}
159
159
else {
You can’t perform that action at this time.
0 commit comments