Skip to content

Commit

Permalink
fixed mobile builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Dec 25, 2024
1 parent 40f0bc5 commit 2ec5489
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ZeDMDComm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,10 @@ bool ZeDMDComm::StreamBytes(ZeDMDFrame* pFrame)

bool ZeDMDComm::SendChunks(uint8_t* pData, uint16_t size)
{
#if !( \
(defined(__APPLE__) && ((defined(TARGET_OS_IOS) && TARGET_OS_IOS) || (defined(TARGET_OS_TV) && TARGET_OS_TV))) || \
defined(__ANDROID__))

int8_t status = 0;

if (!m_stopFlag.load(std::memory_order_relaxed))
Expand Down Expand Up @@ -697,7 +701,7 @@ bool ZeDMDComm::SendChunks(uint8_t* pData, uint16_t size)

return true;
}

#endif
return false;
}

Expand Down

0 comments on commit 2ec5489

Please sign in to comment.