File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ void Inkplate::display1b()
235235 clean (3 , 1 );
236236 vscan_start ();
237237 einkOff ();
238+ _blockPartial = 0 ;
238239}
239240
240241/* *
@@ -298,7 +299,7 @@ void Inkplate::partialUpdate(bool _forced)
298299{
299300 if (getDisplayMode () == 1 )
300301 return ;
301- if (_blockPartial == 1 && _forced)
302+ if (_blockPartial == 1 && ! _forced)
302303 {
303304 display1b ();
304305 return ;
Original file line number Diff line number Diff line change @@ -266,6 +266,8 @@ void Inkplate::display1b()
266266 clean (3 , 1 );
267267 vscan_start ();
268268 einkOff ();
269+ _blockPartial = 0 ;
270+
269271}
270272
271273/* *
@@ -330,7 +332,7 @@ void Inkplate::partialUpdate(bool _forced)
330332 if (getDisplayMode () == 1 )
331333 return ;
332334
333- if (_blockPartial == 1 && _forced)
335+ if (_blockPartial == 1 && ! _forced)
334336 {
335337 display1b ();
336338 return ;
Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ void Inkplate::display1b()
282282
283283 vscan_start ();
284284 einkOff ();
285+ _blockPartial = 0 ;
285286}
286287
287288/* *
@@ -348,7 +349,7 @@ void Inkplate::partialUpdate(bool _forced)
348349 if (getDisplayMode () == 1 )
349350 return ;
350351
351- if (_blockPartial == 1 && _forced)
352+ if (_blockPartial == 1 && ! _forced)
352353 {
353354 display1b ();
354355 return ;
Original file line number Diff line number Diff line change @@ -330,6 +330,8 @@ void Inkplate::display1b()
330330 clean (3 , 1 );
331331 vscan_start ();
332332 einkOff ();
333+ _blockPartial = 0 ;
334+
333335}
334336
335337/* *
@@ -401,7 +403,7 @@ void Inkplate::partialUpdate(bool _forced)
401403{
402404 if (getDisplayMode () == 1 )
403405 return ;
404- if (_blockPartial == 1 && _forced)
406+ if (_blockPartial == 1 && ! _forced)
405407 {
406408 display1b ();
407409 return ;
You can’t perform that action at this time.
0 commit comments