Remaining Time for FTDI EVE, bp for ExtUI (#20549)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -245,7 +245,7 @@ namespace ExtUI {
|
||||
}
|
||||
|
||||
#ifdef TOUCH_UI_LCD_TEMP_SCALING
|
||||
#define GET_TEMP_ADJUSTMENT(A) float(A)/TOUCH_UI_LCD_TEMP_SCALING
|
||||
#define GET_TEMP_ADJUSTMENT(A) (float(A) / (TOUCH_UI_LCD_TEMP_SCALING))
|
||||
#else
|
||||
#define GET_TEMP_ADJUSTMENT(A) A
|
||||
#endif
|
||||
@@ -807,10 +807,6 @@ namespace ExtUI {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
uint8_t getProgress_percent() {
|
||||
return ui.get_progress_percent();
|
||||
}
|
||||
|
||||
uint32_t getProgress_seconds_elapsed() {
|
||||
const duration_t elapsed = print_job_timer.duration();
|
||||
return elapsed.value;
|
||||
|
Reference in New Issue
Block a user