Fix syntax error in MyGatewayTransportEthernet (#1132)
Code doesn't compile very well if statements are missing a semicolon at the end. This error snuck in in https://github.com/mysensors/MySensors/pull/1110
This commit is contained in:
committed by
Patrick Fallberg
parent
4e1d69dbb2
commit
59b15f5824
@@ -152,9 +152,9 @@ bool gatewayTransportInit(void)
|
||||
WiFi.mode(WIFI_STA);
|
||||
#if defined(MY_HOSTNAME)
|
||||
#if defined(MY_GATEWAY_ESP8266)
|
||||
WiFi.hostname(MY_HOSTNAME)
|
||||
WiFi.hostname(MY_HOSTNAME);
|
||||
#elif defined(MY_GATEWAY_ESP32)
|
||||
WiFi.setHostname(MY_HOSTNAME)
|
||||
WiFi.setHostname(MY_HOSTNAME);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef MY_IP_ADDRESS
|
||||
|
||||
Reference in New Issue
Block a user