mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 08:36:14 +01:00
Compare commits
2 Commits
236d39dc16
...
9bc8c73c9a
Author | SHA1 | Date | |
---|---|---|---|
|
9bc8c73c9a | ||
|
35d1247240 |
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user