Mercurial > hg > fxanalyse
diff FXAnalyse.c @ 143:09a4548e1436
Remove unused variables from math experessions initialization
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Wed, 22 Jan 2014 14:45:23 +0100 |
parents | fd085d61e4ca |
children | be87c8e78266 |
line wrap: on
line diff
--- a/FXAnalyse.c Wed Jan 22 14:45:23 2014 +0100 +++ b/FXAnalyse.c Wed Jan 22 14:45:23 2014 +0100 @@ -439,7 +439,6 @@ mupDefineOprtChars(parser, "abcdefghijklmnopqrstuvwxyzµ" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "+-*^/?<>=#!$%&|~'_"); - mupDefineVar(parser, "UTC", &utc); mupDefineVar(parser, "Ch1", &Ch1); mupDefineVar(parser, "Ch2", &Ch2); mupDefineVar(parser, "Ch3", &Ch3); @@ -451,9 +450,6 @@ mupDefineVar(parser, "N1", &N1); mupDefineVar(parser, "N2", &N2); mupDefineVar(parser, "N3", &N3); - mupDefineVar(parser, "Nu1", &Nu1); - mupDefineVar(parser, "Nu2", &Nu2); - mupDefineVar(parser, "DeltaDDS3", &DeltaDDS3); mupDefineVar(parser, "Sign1", &Sign1); mupDefineVar(parser, "Sign2", &Sign2); mupDefineVar(parser, "Sign3", &Sign3); @@ -521,14 +517,12 @@ MathParser2 = initMathParser(); mupDefineVar(MathParser2, "Math1", &Math1); - mupDefineVar(MathParser2, "DDS", &(DDS4xAD9912.frequency[0])); GetCtrlVal(MainPanel, PANEL_MATHSTRING2, expr); mupSetExpr(MathParser2, expr); MathParser3 = initMathParser(); mupDefineVar(MathParser3, "Math1", &Math1); mupDefineVar(MathParser3, "Math2", &Math2); - mupDefineVar(MathParser3, "DDS", &(DDS4xAD9912.frequency[1])); GetCtrlVal(MainPanel, PANEL_MATHSTRING3, expr); mupSetExpr(MathParser3, expr);