Skip to content

Commit 32a603b

Browse files
committed
misc: remove WiFi port ini settings
1 parent 84b5a76 commit 32a603b

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ SaveSettings = 0
210210
Enabled = 0
211211
# Enter your ZeDMD WiFi IP address here
212212
WiFiAddr =
213-
# Set the ZeDMD WiFi Port number, you can leave this empty and it will default to 3333
214-
WiFiPort = 3333
215213
216214
[Pixelcade]
217215
# Set to 1 if Pixelcade is attached

dmdserver.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ SaveSettings = 0
4040
Enabled = 0
4141
# Enter your ZeDMD WiFi IP address here
4242
WiFiAddr =
43-
# Set the ZeDMD WiFi Port number, you can leave this empty and it will default to 3333
44-
WiFiPort = 3333
4543

4644
[Pixelcade]
4745
# Set to 1 if Pixelcade is attached

include/DMDUtil/Config.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ class DMDUTILAPI Config
6666
void SetZeDMDWiFiEnabled(bool WiFiEnabled) { m_zedmdWiFiEnabled = WiFiEnabled; }
6767
const char* GetZeDMDWiFiAddr() const { return m_zedmdWiFiAddr.c_str(); }
6868
void SetZeDMDWiFiAddr(const char* ipaddr) { m_zedmdWiFiAddr = ipaddr; }
69-
int GetZeDMDWiFiPort() const { return m_zedmdWiFiPort; }
70-
void SetZeDMDWiFiPort(int port) { m_zedmdWiFiPort = port; }
7169
bool IsPixelcade() const { return m_pixelcade; }
7270
void SetPixelcade(bool pixelcade) { m_pixelcade = pixelcade; }
7371
void SetPixelcadeDevice(const char* port) { m_pixelcadeDevice = port; }
@@ -109,7 +107,6 @@ class DMDUTILAPI Config
109107
bool m_zedmdSaveSettings;
110108
bool m_zedmdWiFiEnabled;
111109
std::string m_zedmdWiFiAddr;
112-
int m_zedmdWiFiPort;
113110
bool m_dmdServer;
114111
std::string m_dmdServerAddr;
115112
int m_dmdServerPort;

src/dmdServer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ int main(int argc, char* argv[])
289289
// ZeDMD WiFi
290290
pConfig->SetZeDMDWiFiEnabled(r.Get<bool>("ZeDMD-WiFi", "Enabled", false));
291291
pConfig->SetZeDMDWiFiAddr(r.Get<string>("ZeDMD-WiFi", "WiFiAddr", "").c_str());
292-
pConfig->SetZeDMDWiFiPort(r.Get<int>("ZeDMD-WiFi", "WiFiPort", 3333));
293292
// Pixelcade
294293
pConfig->SetPixelcade(r.Get<bool>("Pixelcade", "Enabled", true));
295294
pConfig->SetPixelcadeDevice(r.Get<string>("Pixelcade", "Device", "").c_str());

0 commit comments

Comments
 (0)