0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-06-23 15:31:54 +00:00

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

@ -18,6 +18,8 @@
* <http://www.gnu.org/licenses/>.
*/
#include "Marlin.h"
#ifdef SDSUPPORT
#include "SdFile.h"
/** Create a file object and open it in the current working directory.
*
@ -85,3 +87,6 @@ void SdFile::writeln_P(PGM_P str) {
write_P(str);
write_P(PSTR("\r\n"));
}
#endif