From 3d37c7e60f1f7b4930143dcd2f0299cca0caa26b Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Sat, 13 Jan 2018 23:52:47 +0100 Subject: [PATCH] Add wifi_station_set_hostname(HOSTNAME); to make https://github.com/toblum/McLighting/issues/79 --- Arduino/McLighting/McLighting.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 1bbd4a4..9700cc2 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -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(HOSTNAME)); + // *************************************************************************** // Setup: Neopixel // ***************************************************************************