made sd code only compile with SDSUPPORT defined. safes 10k of codespace
This commit is contained in:
parent
729cde4475
commit
3814bbb529
14 changed files with 72 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue