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
|
|
@ -22,6 +22,8 @@
|
|||
* \brief SdFile class
|
||||
*/
|
||||
#include "Marlin.h"
|
||||
|
||||
#ifdef SDSUPPORT
|
||||
#include "SdBaseFile.h"
|
||||
#include <Print.h>
|
||||
#ifndef SdFile_h
|
||||
|
|
@ -47,3 +49,6 @@ class SdFile : public SdBaseFile, public Print {
|
|||
void writeln_P(PGM_P str);
|
||||
};
|
||||
#endif // SdFile_h
|
||||
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue