Skip to content
Snippets Groups Projects
Commit 77873c99 authored by Alexander Ivanov's avatar Alexander Ivanov
Browse files

Fixed FiltCtrl and FiltMatrix to handle biquad flag

git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2758 6dcd42c9-f523-4c6d-aada-af552506706e
parent 898d6cab
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,11 @@ sub partType {
# die "Filter name \"", $::xpartName[$::partCnt], "\" too long (max $::max_name_len charachters)";
# }
print ::OUTH "#define $::xpartName[$::partCnt] \t $::filtCnt\n";
print ::EPICS "$::xpartName[$::partCnt]\n";
if ($::allBiquad || $::biQuad[$::partCnt]) {
print ::EPICS "$::xpartName[$::partCnt] biquad\n";
} else {
print ::EPICS "$::xpartName[$::partCnt]\n";
}
$::filterName[$::filtCnt] = $::xpartName[$::partCnt];
$::filtCnt ++;
......
......@@ -23,8 +23,14 @@ sub printHeaderStruct {
my $outhOut = "#define $::xpartName[$i]_$output_plus_one" . "_$input_plus_one " ."\t $::filtCnt\n";
print ::OUTH $outhOut;
my $epicsOut = "$::xpartName[$i]" . "_$output_plus_one" . "_$input_plus_one\n";
print ::EPICS $epicsOut;
my $epicsOut = "$::xpartName[$i]" . "_$output_plus_one" . "_$input_plus_one";
if ($::allBiquad || $::biQuad[$::partCnt]) {
print ::EPICS "$epicsOut biquad\n";
} else {
print ::EPICS "$epicsOut\n";
}
$::filterName[$::filtCnt] = "$::xpartName[$i]" . "_$output_plus_one" . "_$input_plus_one";
$::filtCnt ++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment