Skip to content

Commit 6593a1f

Browse files
committed
clangy
1 parent 41d8d91 commit 6593a1f

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

src/Adafruit_ThinkInk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ typedef enum {
44
THINKINK_GRAYSCALE4,
55
} thinkinkmode_t;
66

7-
#include "panels/ThinkInk_154_Tricolor_Z17.h"
87
#include "panels/ThinkInk_154_Tricolor_RW.h"
8+
#include "panels/ThinkInk_154_Tricolor_Z17.h"
99
#include "panels/ThinkInk_213_Tricolor_RW.h"
1010
#include "panels/ThinkInk_213_Tricolor_Z16.h"
1111
#include "panels/ThinkInk_270_Tricolor_C44.h"

src/drivers/Adafruit_IL91874.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ const uint8_t il91874_default_init_code[] {
1919

2020
// clang-format on
2121

22-
23-
2422
const unsigned char lut_vcomDC[] = {
2523
0x00, 0x00, 0x00, 0x1A, 0x1A, 0x00, 0x00, 0x01, 0x00, 0x0A, 0x0A,
2624
0x00, 0x00, 0x08, 0x00, 0x0E, 0x01, 0x0E, 0x01, 0x10, 0x00, 0x0A,
@@ -147,7 +145,7 @@ void Adafruit_IL91874::begin(bool reset) {
147145
singleByteTxns = true;
148146
Adafruit_EPD::begin(reset);
149147

150-
setBlackBuffer(0, true); // black defaults to inverted
148+
setBlackBuffer(0, true); // black defaults to inverted
151149
setColorBuffer(1, true); // red defaults to not inverted
152150

153151
powerDown();

src/panels/ThinkInk_270_Grayscale4_W3.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,20 +85,20 @@ class ThinkInk_270_Grayscale4_W3 : public Adafruit_IL91874 {
8585
private:
8686
public:
8787
ThinkInk_270_Grayscale4_W3(int8_t SID, int8_t SCLK, int8_t DC, int8_t RST,
88-
int8_t CS, int8_t SRCS, int8_t MISO,
89-
int8_t BUSY = -1)
88+
int8_t CS, int8_t SRCS, int8_t MISO,
89+
int8_t BUSY = -1)
9090
: Adafruit_IL91874(264, 176, SID, SCLK, DC, RST, CS, SRCS, MISO, -1){};
9191

9292
ThinkInk_270_Grayscale4_W3(int8_t DC, int8_t RST, int8_t CS, int8_t SRCS,
93-
int8_t BUSY = -1, SPIClass *spi = &SPI)
93+
int8_t BUSY = -1, SPIClass *spi = &SPI)
9494
: Adafruit_IL91874(264, 176, DC, RST, CS, SRCS, -1, spi){};
9595

9696
void begin(thinkinkmode_t mode = THINKINK_MONO) {
9797
Adafruit_IL91874::begin(true);
9898

99-
setBlackBuffer(0, true); // black defaults to inverted
99+
setBlackBuffer(0, true); // black defaults to inverted
100100
setColorBuffer(1, true); // red defaults to not inverted
101-
101+
102102
if (mode == THINKINK_MONO) {
103103
_epd_init_code = NULL;
104104
_epd_lut_code = NULL;

0 commit comments

Comments
 (0)