commit
ae823c3c43
1 changed files with 9 additions and 2 deletions
|
@ -597,8 +597,15 @@ void lcdui_print_time(void)
|
||||||
int chars = 0;
|
int chars = 0;
|
||||||
if ((PRINTER_ACTIVE) && ((print_time_remaining_normal != PRINT_TIME_REMAINING_INIT) || (starttime != 0)))
|
if ((PRINTER_ACTIVE) && ((print_time_remaining_normal != PRINT_TIME_REMAINING_INIT) || (starttime != 0)))
|
||||||
{
|
{
|
||||||
char suff = (print_time_remaining_normal == PRINT_TIME_REMAINING_INIT)?' ':'R';
|
char suff = ' ';
|
||||||
chars = lcd_printf_P(_N("%c%02u:%02u%c"), LCD_STR_CLOCK[0], print_t / 60, print_t % 60, suff);
|
char suff_doubt = ' ';
|
||||||
|
if (print_time_remaining_normal != PRINT_TIME_REMAINING_INIT)
|
||||||
|
{
|
||||||
|
suff = 'R';
|
||||||
|
if (feedmultiply != 100)
|
||||||
|
suff_doubt = '?';
|
||||||
|
}
|
||||||
|
chars = lcd_printf_P(_N("%c%02u:%02u%c%c"), LCD_STR_CLOCK[0], print_t / 60, print_t % 60, suff, suff_doubt);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
chars = lcd_printf_P(_N("%c--:-- "), LCD_STR_CLOCK[0]);
|
chars = lcd_printf_P(_N("%c--:-- "), LCD_STR_CLOCK[0]);
|
||||||
|
|
Loading…
Reference in a new issue