cmd->scan_begin_src != TRIG_EXT) err++;
if(cmd->convert_src != TRIG_TIMER &&
cmd->convert_src != TRIG_EXT) err++;
- if(cmd->scan_end_src != TRIG_COUNT) err++;
if(cmd->stop_src != TRIG_COUNT &&
cmd->stop_src != TRIG_NONE &&
cmd->stop_src != TRIG_EXT) err++;
cmd->chanlist_len = 1;
err++;
}
- if(cmd->chanlist_len > s->len_chanlist)
- {
- cmd->chanlist_len = s->len_chanlist;
- err++;
- }
if(cmd->scan_end_arg != cmd->chanlist_len)
{
cmd->scan_end_arg = cmd->chanlist_len;
if(cmd->start_src != TRIG_NOW &&
cmd->start_src != TRIG_EXT) err++;
- if(cmd->scan_begin_src != TRIG_FOLLOW) err++;
if(cmd->convert_src != TRIG_TIMER &&
cmd->convert_src != TRIG_EXT) err++;
- if(cmd->scan_end_src != TRIG_COUNT) err++;
if(cmd->stop_src != TRIG_COUNT &&
cmd->stop_src != TRIG_NONE) err++;
cmd->chanlist_len = 1;
err++;
}
- if(cmd->chanlist_len > s->len_chanlist)
- {
- cmd->chanlist_len = s->len_chanlist;
- err++;
- }
if(cmd->scan_end_arg != cmd->chanlist_len)
{
cmd->scan_end_arg = cmd->chanlist_len;