1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef SdFatUtil_h
- #define SdFatUtil_h
- #include "Marlin.h"
- #if ENABLED(SDSUPPORT)
- #define PgmPrint(x) SerialPrint_P(PSTR(x))
- #define PgmPrintln(x) SerialPrintln_P(PSTR(x))
- namespace SdFatUtil {
- int FreeRam();
- void print_P(PGM_P str);
- void println_P(PGM_P str);
- void SerialPrint_P(PGM_P str);
- void SerialPrintln_P(PGM_P str);
- }
- using namespace SdFatUtil;
- #endif
- #endif
|