Add wifi_station_set_hostname(HOSTNAME); to make
https://github.com/toblum/McLighting/issues/79
This commit is contained in:
parent
5232e038c6
commit
3d37c7e60f
1 changed files with 2 additions and 0 deletions
|
@ -178,6 +178,8 @@ void setup() {
|
|||
// start ticker with 0.5 because we start in AP mode and try to connect
|
||||
ticker.attach(0.5, tick);
|
||||
|
||||
wifi_station_set_hostname(const_cast<char*>(HOSTNAME));
|
||||
|
||||
// ***************************************************************************
|
||||
// Setup: Neopixel
|
||||
// ***************************************************************************
|
||||
|
|
Loading…
Reference in a new issue