Browse Source

Cleanup SdFatUtil.h

Scott Lahteine 8 years ago
parent
commit
802818f7ab
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      Marlin/SdFatUtil.h

+ 5
- 6
Marlin/SdFatUtil.h View File

26
  *
26
  *
27
  * This file is part of the Arduino Sd2Card Library
27
  * This file is part of the Arduino Sd2Card Library
28
  */
28
  */
29
+#ifndef SdFatUtil_h
30
+#define SdFatUtil_h
31
+
29
 #include "Marlin.h"
32
 #include "Marlin.h"
30
 #if ENABLED(SDSUPPORT)
33
 #if ENABLED(SDSUPPORT)
31
 
34
 
32
-#ifndef SdFatUtil_h
33
-#define SdFatUtil_h
34
 /**
35
 /**
35
  * \file
36
  * \file
36
  * \brief Useful utility functions.
37
  * \brief Useful utility functions.
37
  */
38
  */
38
-#include "Marlin.h"
39
-#include "MarlinSerial.h"
40
 /** Store and print a string in flash memory.*/
39
 /** Store and print a string in flash memory.*/
41
 #define PgmPrint(x) SerialPrint_P(PSTR(x))
40
 #define PgmPrint(x) SerialPrint_P(PSTR(x))
42
 /** Store and print a string in flash memory followed by a CR/LF.*/
41
 /** Store and print a string in flash memory followed by a CR/LF.*/
51
 }
50
 }
52
 
51
 
53
 using namespace SdFatUtil;  // NOLINT
52
 using namespace SdFatUtil;  // NOLINT
54
-#endif  //#define SdFatUtil_h
55
 
53
 
54
+#endif // SDSUPPORT
56
 
55
 
57
-#endif
56
+#endif // SdFatUtil_h

Loading…
Cancel
Save