Permalink
Browse files

fix: SD card init speed to be compatible with Arduino Uno

  • Loading branch information...
1 parent 54b5674 commit 7491050ded711423322a278a0d2464d1e8fef501 @nkrkv nkrkv committed Jul 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 MusicPlayer_v1_7/newSDlib.cpp
@@ -69,7 +69,7 @@ void error_P(const char* str) {
unsigned char newSD::init()
{
//SPI speed: 0 - F_CPU/2, 1 - F_CPU/4
- if (!card.init(0,SD_CS_PIN))
+ if (!card.init(1,SD_CS_PIN))
{
error("card.init failed");
return 0;

0 comments on commit 7491050

Please sign in to comment.