1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 08:36:14 +01:00

commit current

This commit is contained in:
travis-farmer 2023-11-14 16:27:21 -05:00
parent 83a22dfae5
commit 35d1247240
No known key found for this signature in database
GPG Key ID: 0BC296791D14CB35

View File

@ -81,7 +81,7 @@ bool WifiNINA::setup(const char *SSid,
uint8_t tries = 40; uint8_t tries = 40;
// Set up the pins! // Set up the pins!
#ifndef GIGA_WIFI #if !defined(GIGA_WIFI)
WiFi.setPins(SPIWIFI_SS, SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI); WiFi.setPins(SPIWIFI_SS, SPIWIFI_ACK, ESP32_RESETN, ESP32_GPIO0, &SPIWIFI);
#endif #endif
// check for the WiFi module: // check for the WiFi module:
@ -193,7 +193,6 @@ bool WifiNINA::setup(const char *SSid,
server = new WiFiServer(port); // start listening on tcp port server = new WiFiServer(port); // start listening on tcp port
server->begin(); server->begin();
// server started here // server started here
DIAG(F("Server will be started on port %d"),port); DIAG(F("Server will be started on port %d"),port);
ip = WiFi.localIP(); ip = WiFi.localIP();