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,10 @@
* along with the Arduino Sd2Card Library. If not, see
* <http://www.gnu.org/licenses/>.
*/
#include "Marlin.h"
#ifdef SDSUPPORT
#ifndef Sd2Card_h
#define Sd2Card_h
/**
@ -232,3 +236,6 @@ class Sd2Card {
bool writeData(uint8_t token, const uint8_t* src);
};
#endif // Sd2Card_h
#endif