void main(void)
{
/* put your own code here */
// DelayMs(3000);
PllInit(); //40MHz Bus Frequency
// IntInit();
AdcInit();
PWMInit();
// PuAdInit();
EnableInterrupts;
float * aimVelocityPara;
int * adcResult;
gf_recSpeed = 0;
gf_lasSpeed = 0;
gf_aimSpeed = 0;
for(;;)
{
adcResult = AdConvert();
aimVelocityPara = AimVelocityCal(adcResult);
PWMGenerate(aimVelocityPara);
} /* loop forever */
/* please make sure that you never leave main */
}
如题,程序如上,老是提醒 float * aimVelocityPara;行没有分号
请问大神们如何破?跪求