dont try to decode device input in monitoring cycles

This commit is contained in:
Alexandre Ratchov 2012-10-07 13:46:51 +02:00
parent f29564da69
commit bca3235a53
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ dev_sub_cycle(struct dev *d)
log_puts(": dev_sub_cycle\n");
}
#endif
if (d->decbuf)
if ((d->mode & MODE_REC) && d->decbuf)
dec_do(&d->dec, d->decbuf, (unsigned char *)d->rbuf, d->round);
ps = &d->slot_list;
while ((s = *ps) != NULL) {