1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-26 20:54:22 +01:00

The delay between reset and the enter progmode command got lost when introducing the SPI library. Put it back in.

This commit is contained in:
Peter Van Hoyweghen 2015-02-25 21:30:34 +01:00
parent 93b31b6cfa
commit 56e09109df

View File

@ -251,6 +251,7 @@ void start_pmode() {
digitalWrite(SCK, LOW);
delay(20);
digitalWrite(RESET, LOW);
delay(50);
spi_transaction(0xAC, 0x53, 0x00, 0x00);
pmode = 1;
}