mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-06-26 00:41:33 +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
|
@ -19,6 +19,10 @@
|
|||
*/
|
||||
|
||||
#define SERIAL MSerial
|
||||
|
||||
#include "Marlin.h"
|
||||
#ifdef SDSUPPORT
|
||||
|
||||
#include "SdBaseFile.h"
|
||||
//------------------------------------------------------------------------------
|
||||
// pointer to cwd directory
|
||||
|
@ -1784,3 +1788,6 @@ int16_t SdBaseFile::write(const void* buf, uint16_t nbyte) {
|
|||
#if ALLOW_DEPRECATED_FUNCTIONS && !defined(DOXYGEN)
|
||||
void (*SdBaseFile::oldDateTime_)(uint16_t& date, uint16_t& time) = 0; // NOLINT
|
||||
#endif // ALLOW_DEPRECATED_FUNCTIONS
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue