Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/lgfx/v1/panel/Panel_M5HDMI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,9 @@ namespace lgfx

if ((force && _total_send) || (_total_send += length) >= 512)
{
_total_send = 0;
// Count the command sent right after this wait. Otherwise a long COPYRECT goes unchecked,
// and the next pixel stream overflows the FPGA's ~2 KB receive queue (excess bytes are dropped).
_total_send = length;
uint32_t wait = 0;
_bus->beginRead();
while (_bus->readData(8) == 0x00)
Expand Down
Loading