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:
parent
729cde4475
commit
3814bbb529
14 changed files with 72 additions and 0 deletions
Marlin
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue