Brought the timeouts of the ESC/P and text printers in line with the PostScript printer.

This commit is contained in:
OBattler
2020-12-23 21:52:56 +01:00
parent f27e443bfa
commit ad1aa69299
2 changed files with 2 additions and 2 deletions

View File

@@ -1983,7 +1983,7 @@ write_ctrl(uint8_t val, void *priv)
dev->ack = 1;
timer_set_delay_u64(&dev->pulse_timer, ISACONST);
timer_set_delay_u64(&dev->timeout_timer, 500000 * TIMER_USEC);
timer_set_delay_u64(&dev->timeout_timer, 5000000 * TIMER_USEC);
}
dev->ctrl = val;

View File

@@ -410,7 +410,7 @@ write_ctrl(uint8_t val, void *priv)
dev->ack = 1;
timer_set_delay_u64(&dev->pulse_timer, ISACONST);
timer_set_delay_u64(&dev->timeout_timer, 500000 * TIMER_USEC);
timer_set_delay_u64(&dev->timeout_timer, 5000000 * TIMER_USEC);
}
dev->ctrl = val;