Skip to content

Commit b7fb354

Browse files
author
Clang Robot
committed
Committing clang-format changes
1 parent 8ddbbc3 commit b7fb354

File tree

8 files changed

+170
-148
lines changed

8 files changed

+170
-148
lines changed

src/Inkplate.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ void Inkplate::pinsZstate()
302302
pinMode(26, INPUT);
303303
pinMode(27, INPUT);
304304

305-
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || defined(ARDUINO_INKPLATE6FLICK)
305+
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || \
306+
defined(ARDUINO_INKPLATE6FLICK)
306307
// Disable clock for the EPD.
307308
myI2S->conf1.tx_stop_en = 0;
308309
#endif
@@ -320,7 +321,8 @@ void Inkplate::pinsAsOutputs()
320321
pinModeInternal(IO_INT_ADDR, ioRegsInt, GMOD, OUTPUT);
321322
pinModeInternal(IO_INT_ADDR, ioRegsInt, SPV, OUTPUT);
322323

323-
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || defined(ARDUINO_INKPLATE6FLICK)
324+
#if defined(ARDUINO_ESP32_DEV) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || \
325+
defined(ARDUINO_INKPLATE6FLICK)
324326
// Set up the EPD Data and CL pins for I2S.
325327
setI2S1pin(0, I2S1O_BCK_OUT_IDX, 0);
326328
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
@@ -402,7 +402,8 @@ void Inkplate::display3b(bool leaveOn)
402402
clean(0, 12);
403403
clean(2, 1);
404404

405-
// Update the screen with new image by using custom waveform for the grayscale (can be found in Inkplate6FLICK.h file).
405+
// Update the screen with new image by using custom waveform for the grayscale (can be found in Inkplate6FLICK.h
406+
// file).
406407
for (int k = 0; k < 9; ++k)
407408
{
408409
uint8_t *dp = DMemory4Bit + E_INK_WIDTH * E_INK_HEIGHT / 2;
@@ -422,7 +423,7 @@ void Inkplate::display3b(bool leaveOn)
422423
}
423424
}
424425

425-
// Set ePapaer drivers into HiZ state.
426+
// Set ePapaer drivers into HiZ state.
426427
clean(3, 1);
427428

428429
// 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)