switch (cmd->stop_src) {
case TRIG_COUNT: /* stop after N scans */
devpriv->ai_count = cmd->stop_arg * cmd->chanlist_len;
- if ((devpriv->xfer_count > 0)
- && (devpriv->xfer_count > devpriv->ai_count)) {
+ if ((devpriv->xfer_count > 0) &&
+ (devpriv->xfer_count > devpriv->ai_count)) {
devpriv->xfer_count = devpriv->ai_count;
}
break;
/* VERIFY: comedi range and offset conversions */
- if ((range > 1) /* bipolar */
- && (data[i] < 2048)) {
+ if ((range > 1) && (data[i] < 2048)) { /* bipolar */
/* offset and sign extend */
val = (((int)data[i]) - 2048) << 3;
} else { /* unipolor */