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;
job_recovery_info_t PrintJobRecovery::info;
const char PrintJobRecovery::filename[5] = "/PLR";
#include "../sd/cardreader.h"
#include "../lcd/ultralcd.h"

2
Marlin/src/feature/power_loss_recovery.h

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

Loading…
Cancel
Save