Skip to content

Commit

Permalink
#10 Correct ink color of partial update
Browse files Browse the repository at this point in the history
  • Loading branch information
martinberlin committed Jul 30, 2021
1 parent c66d355 commit 4e43bb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/CalEPD/models/gdew075T7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ void Gdew075T7::updateWindow(uint16_t x, uint16_t y, uint16_t w, uint16_t h, boo
// white is 0x00 in buffer
uint8_t data = (idx < sizeof(_buffer)) ? _buffer[idx] : 0x00;
// white is 0xFF on device
IO.data(~data);
IO.data(data);

if (idx % 8 == 0)
{
rtc_wdt_feed();
Expand Down

0 comments on commit 4e43bb9

Please sign in to comment.