Backlash cleanup (#13659)
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
This commit is contained in:
committed by
Scott Lahteine
parent
0181e57417
commit
15357af67c
@ -46,6 +46,11 @@
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
namespace ExtUI {
|
||||
// The ExtUI implementation can store up to this many bytes
|
||||
// in the EEPROM when the methods onStoreSettings and
|
||||
// onLoadSettings are called.
|
||||
|
||||
static constexpr size_t eeprom_data_size = 48;
|
||||
|
||||
enum axis_t : uint8_t { X, Y, Z };
|
||||
enum extruder_t : uint8_t { E0, E1, E2, E3, E4, E5 };
|
||||
@ -207,7 +212,7 @@ namespace ExtUI {
|
||||
bool getFilamentRunoutEnabled();
|
||||
void setFilamentRunoutEnabled(const bool);
|
||||
|
||||
#if FILAMENT_RUNOUT_DISTANCE_MM > 0
|
||||
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
|
||||
float getFilamentRunoutDistance_mm();
|
||||
void setFilamentRunoutDistance_mm(const float);
|
||||
#endif
|
||||
@ -283,8 +288,10 @@ namespace ExtUI {
|
||||
void onUserConfirmRequired(const char * const msg);
|
||||
void onStatusChanged(const char * const msg);
|
||||
void onFactoryReset();
|
||||
void onStoreSettings();
|
||||
void onLoadSettings();
|
||||
void onStoreSettings(char *);
|
||||
void onLoadSettings(const char *);
|
||||
void onConfigurationStoreWritten(bool success);
|
||||
void onConfigurationStoreRead(bool success);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user