Skip to content

Commit 72f666d

Browse files
per1234sandeepmistry
authored andcommitted
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.
1 parent 92ebf8d commit 72f666d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SD.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
#include <Arduino.h>
1919

20-
#include <utility/SdFat.h>
21-
#include <utility/SdFatUtil.h>
20+
#include "utility/SdFat.h"
21+
#include "utility/SdFatUtil.h"
2222

2323
#define FILE_READ O_READ
2424
#define FILE_WRITE (O_READ | O_WRITE | O_CREAT | O_APPEND)

src/utility/SdFat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#endif
2929
#include "Sd2Card.h"
3030
#include "FatStructs.h"
31-
#include "Print.h"
31+
#include <Print.h>
3232
//------------------------------------------------------------------------------
3333
/**
3434
* Allow use of deprecated functions if non-zero

0 commit comments

Comments
 (0)