Skip to content

Commit 007656d

Browse files
committed
fixed hasDisplay()
1 parent 7b62f01 commit 007656d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dmdserver.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ SaveSettings = 0
3939
# Set to 1 if ZeDMD-WiFi is available.
4040
Enabled = 0
4141
# Enter your ZeDMD WiFi IP address here
42-
WiFiAddr =
42+
WiFiAddr =
4343

4444
[Pixelcade]
4545
# Set to 1 if Pixelcade is attached
46-
Enabled = 1
46+
Enabled = 0
4747
# Disable auto-detection and provide a fixed serial port
4848
Device =

src/DMD.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ bool DMD::IsFinding() { return m_finding; }
291291

292292
bool DMD::HasDisplay() const
293293
{
294-
if (m_pZeDMD != nullptr && m_rgb24DMDs.size() > 0)
294+
if (m_pZeDMD != nullptr || m_rgb24DMDs.size() > 0)
295295
{
296296
return true;
297297
}

0 commit comments

Comments
 (0)