Skip to content

Commit d98bacb

Browse files
committed
Fix EthernetGateway connect problem.
Reported by Carh H here: http://forum.mysensors.org/topic/1736/release-1-5-and-ethernet-gateway
1 parent b28a28d commit d98bacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/MySensors/examples/EthernetGateway/EthernetGateway.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void output(const char *fmt, ... ) {
135135
vsnprintf_P(serialBuffer, MAX_SEND_LENGTH, fmt, args);
136136
va_end (args);
137137
Serial.print(serialBuffer);
138-
client.write(serialBuffer);
138+
server.write(serialBuffer);
139139
}
140140

141141
void setup()

0 commit comments

Comments
 (0)