소스 검색

Patch PrintJobRecovery::filename

Scott Lahteine 6 년 전
부모
커밋
ee5e46b46b
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    0
      Marlin/src/feature/power_loss_recovery.cpp
  2. 1
    1
      Marlin/src/feature/power_loss_recovery.h

+ 1
- 0
Marlin/src/feature/power_loss_recovery.cpp 파일 보기

@@ -35,6 +35,7 @@ bool PrintJobRecovery::enabled; // Initialized by settings.load()
35 35
 
36 36
 SdFile PrintJobRecovery::file;
37 37
 job_recovery_info_t PrintJobRecovery::info;
38
+const char PrintJobRecovery::filename[5] = "/PLR";
38 39
 
39 40
 #include "../sd/cardreader.h"
40 41
 #include "../lcd/ultralcd.h"

+ 1
- 1
Marlin/src/feature/power_loss_recovery.h 파일 보기

@@ -103,7 +103,7 @@ typedef struct {
103 103
 
104 104
 class PrintJobRecovery {
105 105
   public:
106
-    static constexpr char filename[5] = "/PLR";
106
+    static const char filename[5];
107 107
 
108 108
     static SdFile file;
109 109
     static job_recovery_info_t info;

Loading…
취소
저장