官方例程28388pfc3phvienna 中简单的加一个函数指针45行,报错
typedef struct
{
void (*init)(void);
} CTRLCLA;
CTRLCLA ctrl;
void iniit(void)
{
}
__attribute__((interrupt)) void Cla1Task1 ( void )
{
ctrl.init=iniit;
#if(CLA_DEBUG == 1)
__mdebugstop();
#endif
ctrl.init();
#if VIENNA_CONTROL_RUNNING_ON == CLA_CORE
VIENNA_pfcControlCode();
#endif
#if(CLA_DEBUG == 1)
__mdebugstop();
#endif
}