Plan 9 from Bell Labs 2001-07-25
1 files changed, 3 insertions(+), 2 deletions(-) M port/devuart.c
M port/devuart.c => port/devuart.c +3 -2
@@ 623,8 623,9 @@ uartclock(void) (*p->phys->rts)(p, 0); p->ir = p->istage; } - if(qproduce(p->iq, p->ir, iw-p->ir) < 0) - (*p->phys->rts)(p, 0); + if(iw > p->ir) + if(qproduce(p->iq, p->ir, iw-p->ir) < 0) + (*p->phys->rts)(p, 0); p->ir = iw; }