Skip to content

Commit

Permalink
Fixed rendering of few black zones
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Dec 7, 2024
1 parent 4f8bea8 commit 949388c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZeDMDWiFi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ bool ZeDMDWiFi::StreamBytes(ZeDMDFrame* pFrame)
{
ZeDMDFrameData frameData = *it;

if (frameData.size < ZEDMD_COMM_FRAME_SIZE_COMMAND_LIMIT)
if (frameData.size < ZEDMD_COMM_FRAME_SIZE_COMMAND_LIMIT && pFrame->command != 4 && pFrame->command != 5)
{
uint8_t data[ZEDMD_COMM_FRAME_SIZE_COMMAND_LIMIT + 4] = {0};
data[0] = pFrame->command; // command
Expand Down

0 comments on commit 949388c

Please sign in to comment.