Fix for BUILTIN_SDCARD

pull/32/head
Holger Wirtz 5 years ago
parent 6e2c62bbfd
commit 09cb4e63fb
  1. 3
      config.h

@ -27,6 +27,7 @@
#define CONFIG_H_INCLUDED #define CONFIG_H_INCLUDED
#include <Arduino.h> #include <Arduino.h>
#include <SD.h>
#include "midinotes.h" #include "midinotes.h"
// ATTENTION! For better latency you have to redefine AUDIO_BLOCK_SAMPLES from // ATTENTION! For better latency you have to redefine AUDIO_BLOCK_SAMPLES from
@ -167,7 +168,7 @@
//#define SDCARD_SCK_PIN 14 //#define SDCARD_SCK_PIN 14
#ifndef TEENSY4 #ifndef TEENSY4
// Teensy 3.5 & 3.6 SD card // Teensy 3.5 & 3.6 SD card
#define SDCARD_CS_PIN BUILTIN_SDCARD #define SDCARD_CS_PIN 4 //BUILTIN_SDCARD
#define SDCARD_MOSI_PIN 11 #define SDCARD_MOSI_PIN 11
#define SDCARD_SCK_PIN 13 #define SDCARD_SCK_PIN 13
#else #else

Loading…
Cancel
Save