Fix
This commit is contained in:
parent
3299c3d66a
commit
dea19d89d8
@ -67,7 +67,7 @@ bool fetchPrintingStatus(Adafruit_SSD1306& display) {
|
|||||||
int runMinutes=secsRemaining/60;
|
int runMinutes=secsRemaining/60;
|
||||||
int runSeconds=secsRemaining%60;
|
int runSeconds=secsRemaining%60;
|
||||||
char buf[31];
|
char buf[31];
|
||||||
sprintf(buf,"Print time left:\t%02d:%02d:%02d",runHours,runMinutes,runSeconds);
|
sprintf(buf,"%02d:%02d:%02d",runHours,runMinutes,runSeconds);
|
||||||
display.println(buf);
|
display.println(buf);
|
||||||
|
|
||||||
const float temp_percent = floor(api.printJob.progressCompletion*100)/100;
|
const float temp_percent = floor(api.printJob.progressCompletion*100)/100;
|
||||||
|
Loading…
Reference in New Issue
Block a user