wwatson4506 / Ra8876LiteTeensy

Teensy RA8876 Driver
14 stars 6 forks source link

Update RA8876_t3.cpp #14

Closed skunktrading closed 1 year ago

skunktrading commented 2 years ago

bteMpuWriteColorExpansionData() and bteMpuWriteColorExpansionWithChromaKeyData() do not currently correctly handle the case where the width is not an exact multiple of 8. This change rounds up the width to the nearest exact byte boundary to ensure that the gpu gets enough data to process the command. If the width is an exact multiple of 8 then this code will behave exactly as before.