Fix and improve EXTENSIBLE_UI (#12117)
- Add methods to access print counter data - Clean up some inconsistent method names - Clear lcd status after filament change - Implement `lcd_reset_status` so it works like UltraLCD
This commit is contained in:
committed by
Scott Lahteine
parent
8bf596bd4c
commit
f98f4ac7ea
@ -49,13 +49,21 @@ namespace UI {
|
||||
float getAxisMaxAcceleration_mm_s2(const axis_t axis);
|
||||
float getMinFeedrate_mm_s();
|
||||
float getMinTravelFeedrate_mm_s();
|
||||
float getPrintingAcceleration_mm_per_s2();
|
||||
float getRetractAcceleration_mm_per_s2();
|
||||
float getTravelAcceleration_mm_per_s2();
|
||||
float getPrintingAcceleration_mm_s2();
|
||||
float getRetractAcceleration_mm_s2();
|
||||
float getTravelAcceleration_mm_s2();
|
||||
float getFeedRate_percent();
|
||||
uint8_t getProgress_percent();
|
||||
uint32_t getProgress_seconds_elapsed();
|
||||
|
||||
#if ENABLED(PRINTCOUNTER)
|
||||
char *getTotalPrints_str(char buffer[21]);
|
||||
char *getFinishedPrints_str(char buffer[21]);
|
||||
char *getTotalPrintTime_str(char buffer[21]);
|
||||
char *getLongestPrint_str(char buffer[21]);
|
||||
char *getFilamentUsed_str(char buffer[21]);
|
||||
#endif
|
||||
|
||||
void setTargetTemp_celsius(const uint8_t extruder, float temp);
|
||||
void setFan_percent(const uint8_t fan, const float percent);
|
||||
void setAxisPosition_mm(const axis_t axis, float position, float _feedrate_mm_s);
|
||||
@ -157,7 +165,7 @@ namespace UI {
|
||||
// module and will be called by Marlin.
|
||||
|
||||
void onStartup();
|
||||
void onUpdate();
|
||||
void onIdle();
|
||||
void onMediaInserted();
|
||||
void onMediaError();
|
||||
void onMediaRemoved();
|
||||
@ -171,4 +179,5 @@ namespace UI {
|
||||
void onStatusChanged(progmem_str msg);
|
||||
void onFactoryReset();
|
||||
void onStoreSettings();
|
||||
void onLoadSettings();
|
||||
};
|
||||
|
Reference in New Issue
Block a user