Skip to content

Commit

Permalink
Don't spew File not defined warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Oct 4, 2021
1 parent 7bf4ecf commit 20d8fa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SdFat.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,9 @@ typedef FsBaseFile SdBaseFile;
#if defined __has_include
#if __has_include(<FS.h>)
#define HAS_INCLUDE_FS_H
#ifndef TEENSYDUINO
#warning File not defined because __has__include(FS.h)
#endif
#endif // __has_include(<FS.h>)
#endif // defined __has_include
#ifndef HAS_INCLUDE_FS_H
Expand Down

0 comments on commit 20d8fa6

Please sign in to comment.