Add wifi_station_set_hostname(HOSTNAME); to make

https://github.com/toblum/McLighting/issues/79
This commit is contained in:
Tobias Blum 2018-01-13 23:52:47 +01:00
parent 5232e038c6
commit 3d37c7e60f

View file

@ -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
// ***************************************************************************