made sd code only compile with SDSUPPORT defined. safes 10k of codespace

This commit is contained in:
Bernhard
2011-12-26 09:28:51 +01:00
parent 729cde4475
commit 3814bbb529
14 changed files with 72 additions and 0 deletions

View File

@ -17,6 +17,9 @@
* along with the Arduino SdFat Library. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "Marlin.h"
#ifdef SDSUPPORT
#ifndef SdFatUtil_h
#define SdFatUtil_h
/**
@ -40,3 +43,6 @@ namespace SdFatUtil {
using namespace SdFatUtil; // NOLINT
#endif // #define SdFatUtil_h
#endif