sdcard.cpp: added compiler directive

This commit is contained in:
cyberman54 2019-12-30 17:25:05 +01:00
parent 2908187874
commit b734f6213b

View File

@ -1,5 +1,7 @@
// routines for writing data to an SD-card, if present // routines for writing data to an SD-card, if present
#if HAS_SDCARD)
// Local logging tag // Local logging tag
static const char TAG[] = __FILE__; static const char TAG[] = __FILE__;
@ -64,4 +66,6 @@ void createFile(void) {
} }
} }
return; return;
} }
#endif // (HAS_SDCARD)