Skip to content

Commit ed2de12

Browse files
committed
Make ArduinoISP code formatting compliant with examples_formatter.conf
1 parent 8a5d051 commit ed2de12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,9 @@ uint8_t spi_transaction(uint8_t a, uint8_t b, uint8_t c, uint8_t d) {
342342
void empty_reply() {
343343
if (CRC_EOP == getch()) {
344344
// clear RX buffer. No more host data expected until after SYNC.
345-
while (SERIAL.available())
345+
while (SERIAL.available()) {
346346
SERIAL.read();
347+
}
347348
SERIAL.print((char)STK_INSYNC);
348349
SERIAL.print((char)STK_OK);
349350
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy