Skip to content

Commit 35d6783

Browse files
committed
clingclang
1 parent bf1c569 commit 35d6783

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/drivers/Adafruit_IL0373.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ Adafruit_IL0373::Adafruit_IL0373(int width, int height, int8_t DC, int8_t RST,
9292
*/
9393
/**************************************************************************/
9494
void Adafruit_IL0373::busy_wait(void) {
95-
//Serial.print("Waiting...");
95+
// Serial.print("Waiting...");
9696
if (_busy_pin >= 0) {
9797
while (!digitalRead(_busy_pin)) {
9898
delay(10); // wait for busy high
9999
}
100100
} else {
101101
delay(BUSY_WAIT);
102102
}
103-
//Serial.println("OK!");
103+
// Serial.println("OK!");
104104
}
105105

106106
/**************************************************************************/

src/drivers/Adafruit_UC8151D.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const uint8_t uc8151d_default_init_code[] {
1616
UC8151D_PSR, 1, 0x1F,
1717
UC8151D_CDI, 1, 0x97,
1818
0xFE};
19-
19+
2020
// clang-format on
2121

2222
/**************************************************************************/
@@ -175,11 +175,11 @@ void Adafruit_UC8151D::powerDown(void) {
175175
buf[0] = 0xF7;
176176
EPD_command(UC8151D_CDI, buf, 1);
177177

178-
EPD_command(UC8151D_POF); //power off
178+
EPD_command(UC8151D_POF); // power off
179179
busy_wait();
180180

181181
buf[0] = 0xA5;
182-
EPD_command(UC8151D_DSLP, buf, 1);
182+
EPD_command(UC8151D_DSLP, buf, 1);
183183
}
184184

185185
/**************************************************************************/
@@ -208,5 +208,4 @@ uint8_t Adafruit_UC8151D::writeRAMCommand(uint8_t index) {
208208
@param y Y address counter value
209209
*/
210210
/**************************************************************************/
211-
void Adafruit_UC8151D::setRAMAddress(uint16_t x, uint16_t y) {
212-
}
211+
void Adafruit_UC8151D::setRAMAddress(uint16_t x, uint16_t y) {}

0 commit comments

Comments
 (0)