Skip to content

Commit

Permalink
Use correct include syntax
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
per1234 authored and sandeepmistry committed Sep 20, 2018
1 parent 92ebf8d commit 72f666d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SD.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

#include <Arduino.h>

#include <utility/SdFat.h>
#include <utility/SdFatUtil.h>
#include "utility/SdFat.h"
#include "utility/SdFatUtil.h"

#define FILE_READ O_READ
#define FILE_WRITE (O_READ | O_WRITE | O_CREAT | O_APPEND)
Expand Down
2 changes: 1 addition & 1 deletion src/utility/SdFat.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#endif
#include "Sd2Card.h"
#include "FatStructs.h"
#include "Print.h"
#include <Print.h>
//------------------------------------------------------------------------------
/**
* Allow use of deprecated functions if non-zero
Expand Down

0 comments on commit 72f666d

Please sign in to comment.