This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28027: 原来的程序编译通过且能正常运行,但我添加浮点数组后则编译出错,请问这怎么解决?谢谢!

Part Number: TMS320F28027


就在main函数上面添加这个浮点数组

float sinb[30]={0.8660, 0.8069, 0.7383, 0.6610, 0.5760, 0.4843,
0.3868, 0.2849, 0.1796, 0.0722, -0.0361, -0.1439,
-0.2501, -0.3533, -0.4524, -0.5462, -0.6335, -0.7135,
-0.7850, -0.8474, -0.8998, -0.9417, -0.9726, -0.9920,
-0.9998, -0.9959, -0.9803, -0.9533, -0.9150, -0.8660};

然后就出现上面图片的错误