Skip to content

Commit 5dbdfd3

Browse files
committed
2 parents af3574c + 88aa29a commit 5dbdfd3

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

src/boards/Inkplate10.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
424424
return 0;
425425
}
426426

427-
if(_partialUpdateCounter>=_partialUpdateLimiter && _partialUpdateLimiter != 0)
427+
if (_partialUpdateCounter >= _partialUpdateLimiter && _partialUpdateLimiter != 0)
428428
{
429429
// Force full update.
430430
display1b(leaveOn);
@@ -512,7 +512,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
512512

513513
memcpy(DMemoryNew, _partial, E_INK_WIDTH * E_INK_HEIGHT / 8);
514514

515-
if(_partialUpdateLimiter!=0)
515+
if (_partialUpdateLimiter != 0)
516516
_partialUpdateCounter++;
517517

518518
return changeCount;

src/boards/Inkplate4TEMPERA.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
466466
return 0;
467467
}
468468

469-
if(_partialUpdateCounter>=_partialUpdateLimiter && _partialUpdateLimiter != 0)
469+
if (_partialUpdateCounter >= _partialUpdateLimiter && _partialUpdateLimiter != 0)
470470
{
471471
// Force full update.
472472
display1b(leaveOn);
@@ -542,7 +542,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
542542
einkOff();
543543
memcpy(DMemoryNew, _partial, E_INK_WIDTH * E_INK_HEIGHT / 8);
544544

545-
if(_partialUpdateLimiter!=0)
545+
if (_partialUpdateLimiter != 0)
546546
_partialUpdateCounter++;
547547

548548
return changeCount;

src/boards/Inkplate5.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
490490
return 0;
491491
}
492492

493-
if(_partialUpdateCounter>=_partialUpdateLimiter && _partialUpdateLimiter != 0)
493+
if (_partialUpdateCounter >= _partialUpdateLimiter && _partialUpdateLimiter != 0)
494494
{
495495
// Force full update.
496496
display1b(leaveOn);
@@ -572,7 +572,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
572572

573573
memcpy(DMemoryNew, _partial, E_INK_WIDTH * E_INK_HEIGHT / 8);
574574

575-
if(_partialUpdateLimiter!=0)
575+
if (_partialUpdateLimiter != 0)
576576
_partialUpdateCounter++;
577577

578578
return changeCount;

src/boards/Inkplate5V2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
430430
return 0;
431431
}
432432

433-
if(_partialUpdateCounter>=_partialUpdateLimiter && _partialUpdateLimiter != 0)
433+
if (_partialUpdateCounter >= _partialUpdateLimiter && _partialUpdateLimiter != 0)
434434
{
435435
// Force full update.
436436
display1b(leaveOn);
@@ -513,7 +513,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
513513

514514
memcpy(DMemoryNew, _partial, E_INK_WIDTH * E_INK_HEIGHT / 8);
515515

516-
if(_partialUpdateLimiter!=0)
516+
if (_partialUpdateLimiter != 0)
517517
_partialUpdateCounter++;
518518

519519
return changeCount;

src/boards/Inkplate6.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
417417
return 0;
418418
}
419419

420-
if(_partialUpdateCounter>=_partialUpdateLimiter && _partialUpdateLimiter != 0)
420+
if (_partialUpdateCounter >= _partialUpdateLimiter && _partialUpdateLimiter != 0)
421421
{
422422
// Force full update.
423423
display1b(leaveOn);
@@ -507,7 +507,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
507507

508508
memcpy(DMemoryNew, _partial, E_INK_WIDTH * E_INK_HEIGHT / 8);
509509

510-
if(_partialUpdateLimiter!=0)
510+
if (_partialUpdateLimiter != 0)
511511
_partialUpdateCounter++;
512512

513513
return changeCount;

src/boards/Inkplate6FLICK.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
470470
return 0;
471471
}
472472

473-
if(_partialUpdateCounter>=_partialUpdateLimiter && _partialUpdateLimiter != 0)
473+
if (_partialUpdateCounter >= _partialUpdateLimiter && _partialUpdateLimiter != 0)
474474
{
475475
// Force full update.
476476
display1b(leaveOn);
@@ -552,7 +552,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
552552

553553
memcpy(DMemoryNew, _partial, E_INK_WIDTH * E_INK_HEIGHT / 8);
554554

555-
if(_partialUpdateLimiter!=0)
555+
if (_partialUpdateLimiter != 0)
556556
_partialUpdateCounter++;
557557

558558
return changeCount;

src/boards/Inkplate6plus.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
480480
return 0;
481481
}
482482

483-
if(_partialUpdateCounter>=_partialUpdateLimiter && _partialUpdateLimiter != 0)
483+
if (_partialUpdateCounter >= _partialUpdateLimiter && _partialUpdateLimiter != 0)
484484
{
485485
// Force full update.
486486
display1b(leaveOn);
@@ -556,7 +556,7 @@ uint32_t Inkplate::partialUpdate(bool _forced, bool leaveOn)
556556
einkOff();
557557
memcpy(DMemoryNew, _partial, E_INK_WIDTH * E_INK_HEIGHT / 8);
558558

559-
if(_partialUpdateLimiter!=0)
559+
if (_partialUpdateLimiter != 0)
560560
_partialUpdateCounter++;
561561

562562
return changeCount;

0 commit comments

Comments
 (0)