Skip to content

Commit 2cb66e8

Browse files
author
Clang Robot
committed
Committing clang-format changes
1 parent d5c0fd9 commit 2cb66e8

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

src/Inkplate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void Inkplate::einkOff()
118118
*
119119
* @note its important to use this order when turning epaper on.
120120
* using wrong order can irreparably damage epaper
121-
*
121+
*
122122
* @return 1 if succesfully turned on, 0 if failed
123123
*/
124124
int Inkplate::einkOn()

src/boards/Inkplate10.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void Inkplate::display1b()
200200
uint32_t _pos;
201201
uint8_t data;
202202
uint8_t dram;
203-
if(!einkOn())
203+
if (!einkOn())
204204
{
205205
return;
206206
}
@@ -251,7 +251,7 @@ void Inkplate::display1b()
251251
*/
252252
void IRAM_ATTR Inkplate::display3b()
253253
{
254-
if(!einkOn())
254+
if (!einkOn())
255255
{
256256
return;
257257
}
@@ -338,7 +338,7 @@ void Inkplate::partialUpdate(bool _forced)
338338
}
339339
}
340340

341-
if(!einkOn())
341+
if (!einkOn())
342342
{
343343
return;
344344
}

src/boards/Inkplate5.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ void Inkplate::display1b()
203203
uint32_t _pos;
204204
uint8_t data;
205205
uint8_t dram;
206-
207-
if(!einkOn())
206+
207+
if (!einkOn())
208208
{
209209
return;
210210
}
211-
211+
212212
clean(0, 17);
213213
clean(1, 17);
214214
clean(0, 17);
@@ -284,7 +284,7 @@ void Inkplate::display1b()
284284
*/
285285
void IRAM_ATTR Inkplate::display3b()
286286
{
287-
if(!einkOn())
287+
if (!einkOn())
288288
{
289289
return;
290290
}
@@ -370,11 +370,11 @@ void Inkplate::partialUpdate(bool _forced)
370370
}
371371
}
372372

373-
if(!einkOn())
373+
if (!einkOn())
374374
{
375375
return;
376376
}
377-
377+
378378
for (int k = 0; k < 5; k++)
379379
{
380380
vscan_start();

src/boards/Inkplate6.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ void Inkplate::display1b()
184184
uint32_t _send;
185185
uint8_t data;
186186
uint8_t dram;
187-
188-
if(!einkOn())
187+
188+
if (!einkOn())
189189
{
190190
return;
191191
}
@@ -298,7 +298,7 @@ void Inkplate::display1b()
298298
*/
299299
void Inkplate::display3b()
300300
{
301-
if(!einkOn())
301+
if (!einkOn())
302302
{
303303
return;
304304
}
@@ -388,11 +388,11 @@ void Inkplate::partialUpdate(bool _forced)
388388
}
389389
}
390390

391-
if(!einkOn())
391+
if (!einkOn())
392392
{
393393
return;
394394
}
395-
395+
396396
for (int k = 0; k < 5; ++k)
397397
{
398398
vscan_start();

src/boards/Inkplate6plus.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ void Inkplate::display1b()
271271
uint32_t _pos;
272272
uint8_t data;
273273
uint8_t dram;
274-
if(!einkOn())
274+
if (!einkOn())
275275
{
276276
return;
277277
}
@@ -352,7 +352,7 @@ void Inkplate::display1b()
352352
*/
353353
void Inkplate::display3b()
354354
{
355-
if(!einkOn())
355+
if (!einkOn())
356356
{
357357
return;
358358
}
@@ -440,7 +440,7 @@ void Inkplate::partialUpdate(bool _forced)
440440
}
441441
}
442442

443-
if(!einkOn())
443+
if (!einkOn())
444444
{
445445
return;
446446
}

0 commit comments

Comments
 (0)