Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit 3d7c258

Browse files
author
Johannes Formann
committed
Use hostname for the SSID of the softAP, avoids confusion if the device used to access the ESP32 can see both networks.
1 parent fd65ff8 commit 3d7c258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Wire.begin( ( int )steerConfig.gpioSDA, ( int )steerConfig.gpioSCL, steerConfig.
189189
digitalWrite( 13, LOW );
190190
WiFi.mode( WIFI_AP );
191191
WiFi.softAPConfig( apIP, apIP, IPAddress( 255, 255, 255, 0 ) );
192-
WiFi.softAP( steerConfig.ssid );
192+
WiFi.softAP( steerConfig.hostname );
193193

194194
timeout = 5;
195195

0 commit comments

Comments
 (0)