new function load1b to restore bitmap to framebuffer after deep sleep
This commit is contained in:
parent
75e37670a3
commit
3c4bde3d3d
|
@ -365,6 +365,12 @@ void Inkplate::display3b()
|
||||||
einkOff();
|
einkOff();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Load old bitmap to RAM (after deep sleep)
|
||||||
|
void Inkplate::load1b() {
|
||||||
|
memcpy(DMemoryNew, _partial, 60000);
|
||||||
|
_blockPartial = 0;
|
||||||
|
}
|
||||||
|
|
||||||
void Inkplate::partialUpdate()
|
void Inkplate::partialUpdate()
|
||||||
{
|
{
|
||||||
if (getDisplayMode() == 1)
|
if (getDisplayMode() == 1)
|
||||||
|
|
|
@ -41,6 +41,7 @@ class Inkplate : public System, public Graphics
|
||||||
|
|
||||||
void clearDisplay();
|
void clearDisplay();
|
||||||
void display();
|
void display();
|
||||||
|
void load1b();
|
||||||
void partialUpdate();
|
void partialUpdate();
|
||||||
void clean();
|
void clean();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue