From 3bc7e527f209072fee9123f8d8c7acf0748af8bc Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 19 Sep 2018 23:16:59 -0700 Subject: [PATCH] Use correct include syntax Angle brackets for external includes. Quotes for local includes. The former is not critical but the latter is necessary in order to use the library when it's not in one of the standard Arduino libraries folders (such as when bundled with a sketch), where local files included with the angle brackets syntax will not be found in the include search path, causing compilation to fail. --- src/SD.h | 4 ++-- src/utility/SdFat.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SD.h b/src/SD.h index a7f221c..65ae340 100644 --- a/src/SD.h +++ b/src/SD.h @@ -17,8 +17,8 @@ #include -#include -#include +#include "utility/SdFat.h" +#include "utility/SdFatUtil.h" #define FILE_READ O_READ #define FILE_WRITE (O_READ | O_WRITE | O_CREAT | O_APPEND) diff --git a/src/utility/SdFat.h b/src/utility/SdFat.h index 3ce3133..ef47ad0 100644 --- a/src/utility/SdFat.h +++ b/src/utility/SdFat.h @@ -28,7 +28,7 @@ #endif #include "Sd2Card.h" #include "FatStructs.h" -#include "Print.h" +#include //------------------------------------------------------------------------------ /** * Allow use of deprecated functions if non-zero