my($chain) = @_;
return sub {
init_msg("program RAM $chain.");
- execute_shell_command("./ui_writeram.pl -c $chain -q", "$chain: done.\n"); # load sensor*.ini
+ execute_shell_command("./ui_writeram.pl -c $chain", "$chain: done.\n"); # load sensor*.ini
}
}
return sub {
init_msg("initseq setting: MAPS reset addr $conf_resets_addr $onoroff " . $chain);
if($onoroff == 0) {
- trb_register_clearbit($fpga_addr,$conf_signals_addr,(1 << $chainnr));
+ trb_register_clearbit($fpga_addr,$conf_resets_addr,(1 << $chainnr));
}
else {
- trb_register_setbit($fpga_addr,$conf_signals_addr,(1 << $chainnr));
+ trb_register_setbit($fpga_addr,$conf_resets_addr,(1 << $chainnr));
}
}
}