瀏覽代碼

Cleanup SdFatUtil.h

Scott Lahteine 8 年之前
父節點
當前提交
802818f7ab
共有 1 個檔案被更改,包括 5 行新增6 行删除
  1. 5
    6
      Marlin/SdFatUtil.h

+ 5
- 6
Marlin/SdFatUtil.h 查看文件

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

Loading…
取消
儲存