Skip to content

Commit

Permalink
misc: remove WiFi port ini settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm174 committed Jan 27, 2025
1 parent 84b5a76 commit 32a603b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ SaveSettings = 0
Enabled = 0
# Enter your ZeDMD WiFi IP address here
WiFiAddr =
# Set the ZeDMD WiFi Port number, you can leave this empty and it will default to 3333
WiFiPort = 3333
[Pixelcade]
# Set to 1 if Pixelcade is attached
Expand Down
2 changes: 0 additions & 2 deletions dmdserver.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ SaveSettings = 0
Enabled = 0
# Enter your ZeDMD WiFi IP address here
WiFiAddr =
# Set the ZeDMD WiFi Port number, you can leave this empty and it will default to 3333
WiFiPort = 3333

[Pixelcade]
# Set to 1 if Pixelcade is attached
Expand Down
3 changes: 0 additions & 3 deletions include/DMDUtil/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ class DMDUTILAPI Config
void SetZeDMDWiFiEnabled(bool WiFiEnabled) { m_zedmdWiFiEnabled = WiFiEnabled; }
const char* GetZeDMDWiFiAddr() const { return m_zedmdWiFiAddr.c_str(); }
void SetZeDMDWiFiAddr(const char* ipaddr) { m_zedmdWiFiAddr = ipaddr; }
int GetZeDMDWiFiPort() const { return m_zedmdWiFiPort; }
void SetZeDMDWiFiPort(int port) { m_zedmdWiFiPort = port; }
bool IsPixelcade() const { return m_pixelcade; }
void SetPixelcade(bool pixelcade) { m_pixelcade = pixelcade; }
void SetPixelcadeDevice(const char* port) { m_pixelcadeDevice = port; }
Expand Down Expand Up @@ -109,7 +107,6 @@ class DMDUTILAPI Config
bool m_zedmdSaveSettings;
bool m_zedmdWiFiEnabled;
std::string m_zedmdWiFiAddr;
int m_zedmdWiFiPort;
bool m_dmdServer;
std::string m_dmdServerAddr;
int m_dmdServerPort;
Expand Down
1 change: 0 additions & 1 deletion src/dmdServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ int main(int argc, char* argv[])
// ZeDMD WiFi
pConfig->SetZeDMDWiFiEnabled(r.Get<bool>("ZeDMD-WiFi", "Enabled", false));
pConfig->SetZeDMDWiFiAddr(r.Get<string>("ZeDMD-WiFi", "WiFiAddr", "").c_str());
pConfig->SetZeDMDWiFiPort(r.Get<int>("ZeDMD-WiFi", "WiFiPort", 3333));
// Pixelcade
pConfig->SetPixelcade(r.Get<bool>("Pixelcade", "Enabled", true));
pConfig->SetPixelcadeDevice(r.Get<string>("Pixelcade", "Device", "").c_str());
Expand Down

0 comments on commit 32a603b

Please sign in to comment.