Selaa lähdekoodia

Version 1.1.6, release test fix

ZinggJM 7 vuotta sitten
vanhempi
sitoutus
121a4c1916
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/GxEPD2_EPD.h

+ 1 - 1
src/GxEPD2_EPD.h

@@ -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);