Skip to content

Commit a4a3c8c

Browse files
author
Clang Robot
committed
Committing clang-format changes
1 parent 28fc018 commit a4a3c8c

File tree

8 files changed

+174
-150
lines changed

8 files changed

+174
-150
lines changed

src/Inkplate.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ void Inkplate::pinsZstate()
319319
pinMode(26, INPUT);
320320
pinMode(27, INPUT);
321321

322-
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || defined(ARDUINO_INKPLATE6FLICK)
322+
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || \
323+
defined(ARDUINO_INKPLATE6FLICK)
323324
// Disable clock for the EPD.
324325
myI2S->conf1.tx_stop_en = 0;
325326
#endif
@@ -337,7 +338,8 @@ void Inkplate::pinsAsOutputs()
337338
pinModeInternal(IO_INT_ADDR, ioRegsInt, GMOD, OUTPUT);
338339
pinModeInternal(IO_INT_ADDR, ioRegsInt, SPV, OUTPUT);
339340

340-
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || defined(ARDUINO_INKPLATE6FLICK)
341+
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || \
342+
defined(ARDUINO_INKPLATE6FLICK)
341343
// Set up the EPD Data and CL pins for I2S.
342344
setI2S1pin(0, I2S1O_BCK_OUT_IDX, 0);
343345
setI2S1pin(4, I2S1O_DATA_OUT0_IDX, 0);

src/boards/Inkplate6FLICK.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,8 @@ void Inkplate::display3b(bool leaveOn)
413413
clean(0, 22);
414414
clean(2, 1);
415415

416-
// Update the screen with new image by using custom waveform for the grayscale (can be found in Inkplate6FLICK.h file).
416+
// Update the screen with new image by using custom waveform for the grayscale (can be found in Inkplate6FLICK.h
417+
// file).
417418
for (int k = 0; k < 9; k++)
418419
{
419420
uint8_t *dp = DMemory4Bit + E_INK_WIDTH * E_INK_HEIGHT / 2;
@@ -433,7 +434,7 @@ void Inkplate::display3b(bool leaveOn)
433434
}
434435
}
435436

436-
// Set ePapaer drivers into HiZ state.
437+
// Set ePapaer drivers into HiZ state.
437438
clean(3, 1);
438439

439440
// Keep the ePaper supply enabled if needed.

src/include/Frontlight.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
#include "Frontlight.h"
2020
#include "defines.h"
2121

22-
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || defined(ARDUINO_INKPLATE6FLICK)
22+
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || \
23+
defined(ARDUINO_INKPLATE6FLICK)
2324

2425
/**
2526
* @brief setFrontlight function sets frontlight intensity for inkplate

src/include/Frontlight.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
#ifndef __FRONTLIGHT_H__
1919
#define __FRONTLIGHT_H__
2020

21-
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || defined(ARDUINO_INKPLATE6FLICK)
21+
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || \
22+
defined(ARDUINO_INKPLATE6FLICK)
2223

2324
#include "Arduino.h"
2425
#include "Wire.h"

src/include/System.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
#define RTC_7PF 0
7777
#define RTC_12_5PF 1
7878

79-
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || defined(ARDUINO_INKPLATE6FLICK)
79+
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || \
80+
defined(ARDUINO_INKPLATE6FLICK)
8081
#include "Frontlight.h"
8182
#ifdef ARDUINO_INKPLATE6FLICK
8283
#include "TouchCypress.h"
@@ -106,7 +107,8 @@ class System : public Esp,
106107
virtual public Expander,
107108
#endif
108109

109-
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || defined(ARDUINO_INKPLATE6FLICK)
110+
#if defined(ARDUINO_INKPLATE6PLUS) || defined(ARDUINO_INKPLATE6PLUSV2) || defined(ARDUINO_INKPLATE4TEMPERA) || \
111+
defined(ARDUINO_INKPLATE6FLICK)
110112
public Touch,
111113
public Frontlight,
112114
#endif

0 commit comments

Comments
 (0)