Browse Source

Patch PrintJobRecovery::filename

pull/1/head
Scott Lahteine 5 years ago
parent
commit
ee5e46b46b
  1. 1
      Marlin/src/feature/power_loss_recovery.cpp
  2. 2
      Marlin/src/feature/power_loss_recovery.h

1
Marlin/src/feature/power_loss_recovery.cpp

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

2
Marlin/src/feature/power_loss_recovery.h

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

Loading…
Cancel
Save