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
|
|
@ -18,6 +18,8 @@
|
|||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "Marlin.h"
|
||||
|
||||
#ifdef SDSUPPORT
|
||||
#include "SdFatUtil.h"
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
@ -74,3 +76,4 @@ void SdFatUtil::SerialPrint_P(PGM_P str) {
|
|||
void SdFatUtil::SerialPrintln_P(PGM_P str) {
|
||||
println_P( str);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue