Skip to content

Commit

Permalink
Fix bug with clearing update bit corrupting erase bit on carousels
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXGuesser committed Nov 26, 2024
1 parent 75cd6f2 commit 721c62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packetmag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Packet* PacketMag::GetPacket(Packet* p)
if (_status & PAGESTATUS_C8_UPDATE)
{
// Clear update bit in stored page so that update flag is only transmitted once
_subpage->SetPageStatus(_status & ~PAGESTATUS_C8_UPDATE);
_subpage->SetPageStatus(_subpage->GetPageStatus() & ~PAGESTATUS_C8_UPDATE);

// Also set the erase flag in output. This will allow left over rows in adaptive transmission to be cleared without leaving the erase flag set causing flickering.
_status|=PAGESTATUS_C4_ERASEPAGE;
Expand Down

0 comments on commit 721c62c

Please sign in to comment.