Skip to content

Commit

Permalink
Version 1.1.6, release test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZinggJM committed May 3, 2019
1 parent f023694 commit 121a4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GxEPD2_EPD.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class GxEPD2_EPD
virtual void writeImage(const uint8_t bitmap[], int16_t x, int16_t y, int16_t w, int16_t h, bool invert = false, bool mirror_y = false, bool pgm = false) = 0;
virtual void writeImage(const uint8_t* black, const uint8_t* color, int16_t x, int16_t y, int16_t w, int16_t h, bool invert = false, bool mirror_y = false, bool pgm = false) = 0;
// for differential update: set current and previous buffers equal (for fast partial update to work correctly)
virtual void writeScreenBufferAgain(uint8_t value) // init controller memory (default white)
virtual void writeScreenBufferAgain(uint8_t value = 0xFF) // init controller memory (default white)
{
// most controllers with differential update do switch buffers on refresh, can use:
writeScreenBuffer(value);
Expand Down

0 comments on commit 121a4c1

Please sign in to comment.