CCS3.3全局定义后无法使用

[复制链接]
1472|1
 楼主| Windy_Three 发表于 2015-4-17 23:18 | 显示全部楼层 |阅读模式
本帖最后由 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;
为什么其他参数没有出现这种情况?
求指导,小弟非常菜鸟。。。。十分感谢
578487120 发表于 2015-4-19 18:44 | 显示全部楼层
大哥,你名字打错了啊 "fSingal3"   fSignal3=PI*0.72; 仔细看一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部