Fix for hostname to wifi (credits to @hvxl)
This commit is contained in:
parent
1d8f80b046
commit
d4d33c7894
|
@ -75,7 +75,6 @@ void setup() {
|
|||
startNTP();
|
||||
|
||||
//start with setting wifi hostname
|
||||
WiFi.hostname(String(settingHostname));
|
||||
startWiFi(CSTR(settingHostname), 240); // timeout 240 seconds
|
||||
blinkLED(LED1, 3, 100);
|
||||
setLed(LED1, OFF);
|
||||
|
|
|
@ -123,6 +123,7 @@ void startWiFi(const char* hostname, int timeOut)
|
|||
manageWiFi.setShowInfoUpdate(false);
|
||||
manageWiFi.setShowInfoErase(false);
|
||||
manageWiFi.setMenu(wm_menu);
|
||||
manageWiFi.setHostname(hostname);
|
||||
|
||||
//--- fetches ssid and pass and tries to connect
|
||||
//--- if it does not connect it starts an access point with the specified name
|
||||
|
|
18
version.h
18
version.h
|
@ -2,15 +2,15 @@
|
|||
#define _VERSION_MAJOR 0
|
||||
#define _VERSION_MINOR 10
|
||||
#define _VERSION_PATCH 1
|
||||
#define _VERSION_BUILD 2044
|
||||
#define _VERSION_GITHASH "db010f2"
|
||||
#define _VERSION_BUILD 2046
|
||||
#define _VERSION_GITHASH "1d8f80b"
|
||||
//#define _VERSION_PRERELEASE beta //uncomment to define prerelease labels: alpha - beta - rc
|
||||
#define _VERSION_DATE "11-02-2023"
|
||||
#define _VERSION_TIME "09:30:33"
|
||||
#define _VERSION_DATE "13-02-2023"
|
||||
#define _VERSION_TIME "19:11:23"
|
||||
#define _SEMVER_CORE "0.10.1"
|
||||
#define _SEMVER_BUILD "0.10.1+2044"
|
||||
#define _SEMVER_GITHASH "0.10.1+db010f2"
|
||||
#define _SEMVER_FULL "0.10.1+db010f2"
|
||||
#define _SEMVER_NOBUILD "0.10.1 (11-02-2023)"
|
||||
#define _VERSION "0.10.1+db010f2 (11-02-2023)"
|
||||
#define _SEMVER_BUILD "0.10.1+2046"
|
||||
#define _SEMVER_GITHASH "0.10.1+1d8f80b"
|
||||
#define _SEMVER_FULL "0.10.1+1d8f80b"
|
||||
#define _SEMVER_NOBUILD "0.10.1 (13-02-2023)"
|
||||
#define _VERSION "0.10.1+1d8f80b (13-02-2023)"
|
||||
//The version information is created automatically, more information here: https://github.com/rvdbreemen/autoinc-semver
|
||||
|
|
Loading…
Reference in New Issue