Selaa lähdekoodia

Only undef FILE_READ & FILE_WRITE if they did not come from FS.h

main
PaulStoffregen 4 vuotta sitten
vanhempi
commit
947085342f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      src/SD.h

+ 2
- 2
src/SD.h Näytä tiedosto

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

Loading…
Peruuta
Tallenna