本帖最后由 Windy_Three 于 2015-4-17 23:23 编辑
[fir.c] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -g -q -pdr -as -fr"C:/CCStudio_v3.3/MyProjects/EX27_FIR/Debug" -fs"C:/CCStudio_v3.3/MyProjects/EX27_FIR/Debug" -i"../../DSP281x_headers/include" -i"../../DSP281x_common/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -mt -v28 -@"Debug.lkf" "fir.c"
"fir.c", line 43: error: identifier "fStepSingal3" is undefined
"fir.c", line 44: remark: controlling expression is constant
"fir.c", line 64: error: identifier "fSingal3" is undefined
2 errors detected in the compilation of "fir.c".
已经一开始定义,为什么不能使用
fSignal1=0.0;
fSignal2=PI*(-0.4);
fSignal3=PI*0.72;
fStepSignal1=2*PI*0.16;
fStepSignal2=2*PI*0.4;
fStepSignal2=2*PI*0.72;
为什么其他参数没有出现这种情况?
求指导,小弟非常菜鸟。。。。十分感谢 |