mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-11-15 21:45:55 +00:00
Don't display remaining time on button with a preceeding 0
This commit is contained in:
1 parent
858acb59aa
commit
844a1c7ac8
1 file changed
+1
-1
@@ -49,7 +49,7 @@ static void update_printer_data_time(lv_event_t * e){
|
||||
} else if (hours >= 1){
|
||||
sprintf(time_buffer, "%luh%02lum", hours, minutes);
|
||||
} else {
|
||||
sprintf(time_buffer, "%02lum", minutes);
|
||||
sprintf(time_buffer, "%lum", minutes);
|
||||
}
|
||||
|
||||
lv_label_set_text(label, time_buffer);
|
||||
|
||||
Reference in new issue
Block a user