Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make ArduinoISP code formatting compliant with examples_formatter.conf
  • Loading branch information
per1234 committed Sep 26, 2020
commit ed2de12e009f12e07fb741f82d17f65988f0c0d3
3 changes: 2 additions & 1 deletion examples/11.ArduinoISP/ArduinoISP/ArduinoISP.ino
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,9 @@ uint8_t spi_transaction(uint8_t a, uint8_t b, uint8_t c, uint8_t d) {
void empty_reply() {
if (CRC_EOP == getch()) {
// clear RX buffer. No more host data expected until after SYNC.
while (SERIAL.available())
while (SERIAL.available()) {
SERIAL.read();
}
SERIAL.print((char)STK_INSYNC);
SERIAL.print((char)STK_OK);
} else {
Expand Down