Browse Source

fix dep includes

main
John Robinson 3 years ago
parent
commit
3bcc541545
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/sd/SD.cpp
  2. +3
    -3
      src/sd/SD.h

+ 1
- 1
src/sd/SD.cpp View File

@@ -20,7 +20,7 @@
* THE SOFTWARE.
*/

#include <Arduino.h>
#include <core/Arduino.h>
#include <sd/SD.h>

SDClass SD;

+ 3
- 3
src/sd/SD.h View File

@@ -23,8 +23,8 @@
#ifndef __SD_H__
#define __SD_H__

#include <Arduino.h>
#include <SdFat.h>
#include <core/Arduino.h>
#include <sdfat/SdFat.h>
// Use FILE_READ & FILE_WRITE as defined by FS.h
#if defined(FILE_READ) && !defined(FS_H)
#undef FILE_READ
@@ -32,7 +32,7 @@
#if defined(FILE_WRITE) && !defined(FS_H)
#undef FILE_WRITE
#endif
#include <FS.h>
#include <core/FS.h>

#if defined(__MK64FX512__) || defined(__MK66FX1M0__) || defined(__IMXRT1062__)
#define BUILTIN_SDCARD 254

Loading…
Cancel
Save