int stop_counter;
unsigned int scan_delay;
- unsigned int chanlist_len;
unsigned int chunk_counter;
unsigned int chunk_num_samples;
}
dev_private->stop_counter *= (1 + dev_private->scan_delay);
- dev_private->chanlist_len = cmd->chanlist_len;
dev_private->chunk_counter = 0;
- dev_private->chunk_num_samples =
- dev_private->chanlist_len * (1 + dev_private->scan_delay);
+ dev_private->chunk_num_samples = cmd->chanlist_len *
+ (1 + dev_private->scan_delay);
return 0;
}
while (position < num_samples) {
if (dev_private->chunk_counter <
- dev_private->chanlist_len) {
- to_read =
- dev_private->chanlist_len -
+ cmd->chanlist_len) {
+ to_read = cmd->chanlist_len -
dev_private->chunk_counter;
if (to_read >