uint adc_converter(uchar ch)
{
uchar i;
uint value;
return value;
}
main()
{
uint value1,value2;
value1=adc_converter(bat_vol_ch);//程序在这里就出现问题了????????
}
#error cpstm8 main.c:75(22+4) missing )
main.c:
The command: "cxstm8 +mods0 +debug -pxp -no -pp -l -id:\tddownload\stmicroelectronics\cosmic\cxstm8_32k\hstm8 -i"d:\program files\cosmic\cxstm8 -id:\tddownload\stmicroelectronics\cosmic\cxstm8_32k\hstm8 _32k\hstm8" -iD:\TDDownload\STMicroelectronics\COSMIC\CXSTM8_32K\Hstm8 -clDebug\ -coDebug\ main.c" has failed, the returned value is: 1
exit code=1.
是这个软件哪里要设置一下,还是怎么了,调用带返回值的函数就能不过了?
好郁闷啊!!!!!!!!!!!!求高手解答 |