Add wifi_station_set_hostname(HOSTNAME); to make
https://github.com/toblum/McLighting/issues/79
This commit is contained in:
@@ -178,6 +178,8 @@ void setup() {
|
|||||||
// start ticker with 0.5 because we start in AP mode and try to connect
|
// start ticker with 0.5 because we start in AP mode and try to connect
|
||||||
ticker.attach(0.5, tick);
|
ticker.attach(0.5, tick);
|
||||||
|
|
||||||
|
wifi_station_set_hostname(const_cast<char*>(HOSTNAME));
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
// Setup: Neopixel
|
// Setup: Neopixel
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user