From 2ec5489ccba00f50d4102bfd1123d5ed781b583b Mon Sep 17 00:00:00 2001 From: Markus Kalkbrenner Date: Wed, 25 Dec 2024 01:33:10 +0100 Subject: [PATCH] fixed mobile builds --- src/ZeDMDComm.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ZeDMDComm.cpp b/src/ZeDMDComm.cpp index 5f3284a..10fd3f1 100644 --- a/src/ZeDMDComm.cpp +++ b/src/ZeDMDComm.cpp @@ -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)) @@ -697,7 +701,7 @@ bool ZeDMDComm::SendChunks(uint8_t* pData, uint16_t size) return true; } - +#endif return false; }