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
1 changed files with 1 additions and 0 deletions

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;
}