Skip to content

Commit

Permalink
Serial Flash: Don't set SPI Pins
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankBoesing committed Aug 30, 2016
1 parent 0b03b23 commit 3eb85e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codecs.cpp
Expand Up @@ -49,10 +49,11 @@ void CodecFile::serflashinit(void)
digitalWrite(10, HIGH);
pinMode(SERFLASH_CS,OUTPUT);
digitalWrite(SERFLASH_CS, HIGH);
#endif

SPI.setMOSI(7);
SPI.setMISO(12);
SPI.setSCK(14);
#endif
SPI.begin();
spisettings = SPISettings(SPICLOCK , MSBFIRST, SPI_MODE0);
}
Expand Down

0 comments on commit 3eb85e0

Please sign in to comment.