Skip to content

Commit 4019f7e

Browse files
committed
clang
1 parent 5db6ad3 commit 4019f7e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/drivers/Adafruit_IL0398.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ Adafruit_IL0398::Adafruit_IL0398(int width, int height, int8_t SID, int8_t SCLK,
6464
*/
6565
/**************************************************************************/
6666
Adafruit_IL0398::Adafruit_IL0398(int width, int height, int8_t DC, int8_t RST,
67-
int8_t CS, int8_t SRCS, int8_t BUSY,
68-
SPIClass *spi)
67+
int8_t CS, int8_t SRCS, int8_t BUSY,
68+
SPIClass *spi)
6969
: Adafruit_EPD(width, height, DC, RST, CS, SRCS, BUSY, spi) {
7070

7171
buffer1_size = ((uint32_t)width * (uint32_t)height) / 8;
@@ -92,7 +92,7 @@ void Adafruit_IL0398::busy_wait(void) {
9292
do {
9393
EPD_command(IL0398_GETSTATUS);
9494
delay(10);
95-
} while (! digitalRead(_busy_pin)); // wait for busy HIGH
95+
} while (!digitalRead(_busy_pin)); // wait for busy HIGH
9696
delay(200);
9797
} else {
9898
delay(BUSY_WAIT);

src/panels/ThinkInk_420_Grayscale4_T2.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,12 @@ class ThinkInk_420_Grayscale4_T2 : public Adafruit_IL0398 {
7575
private:
7676
public:
7777
ThinkInk_420_Grayscale4_T2(int8_t SID, int8_t SCLK, int8_t DC, int8_t RST,
78-
int8_t CS, int8_t SRCS, int8_t MISO, int8_t BUSY = -1)
78+
int8_t CS, int8_t SRCS, int8_t MISO,
79+
int8_t BUSY = -1)
7980
: Adafruit_IL0398(300, 400, SID, SCLK, DC, RST, CS, SRCS, MISO, BUSY){};
8081

8182
ThinkInk_420_Grayscale4_T2(int8_t DC, int8_t RST, int8_t CS, int8_t SRCS,
82-
int8_t BUSY = -1, SPIClass *spi = &SPI)
83+
int8_t BUSY = -1, SPIClass *spi = &SPI)
8384
: Adafruit_IL0398(300, 400, DC, RST, CS, SRCS, BUSY, spi){};
8485

8586
void begin(thinkinkmode_t mode = THINKINK_MONO) {

0 commit comments

Comments
 (0)