Brought the timeouts of the ESC/P and text printers in line with the PostScript printer.
This commit is contained in:
@@ -1983,7 +1983,7 @@ write_ctrl(uint8_t val, void *priv)
|
|||||||
dev->ack = 1;
|
dev->ack = 1;
|
||||||
timer_set_delay_u64(&dev->pulse_timer, ISACONST);
|
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;
|
dev->ctrl = val;
|
||||||
|
|||||||
@@ -410,7 +410,7 @@ write_ctrl(uint8_t val, void *priv)
|
|||||||
dev->ack = 1;
|
dev->ack = 1;
|
||||||
|
|
||||||
timer_set_delay_u64(&dev->pulse_timer, ISACONST);
|
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;
|
dev->ctrl = val;
|
||||||
|
|||||||
Reference in New Issue
Block a user