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

+2-1
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)