我将驱动器从静态切换为动态。我正在跟随开发指南的动态驱动程序。但是得到2个错误。DRVYTMRMARALARM寄存器(MyPr把手,除法器,**真,0,MyISR);1。一元“*”(“int”)的无效类型参数(*pclier->ALARM回调)(pclier-& gt;上下文,*pclier->alcActudio);2.一元“*”的无效类型自变量(有'''uuth3xt t ')吗?有人面对这些情况吗?
以上来自于百度翻译
以下为原文
I switched the driver to dynamic from static. I was following the developer guide for dynamic driver. But getting 2 errors.
DRV_TMR_AlarmRegister(MyHandle, divider,** true, 0 , MyISR);
1. invalid type argument of unary '*' (have 'int')
(*pClient->alarmCallback)( pClient->context, *pClient->alarmCount);
2. invalid type argument of unary '*' (have '__uint32_t')
Anyone faced these situations?
我将驱动器从静态切换为动态。我正在跟随开发指南的动态驱动程序。但是得到2个错误。DRVYTMRMARALARM寄存器(MyPr把手,除法器,**真,0,MyISR);1。一元“*”(“int”)的无效类型参数(*pclier->ALARM回调)(pclier-& gt;上下文,*pclier->alcActudio);2.一元“*”的无效类型自变量(有'''uuth3xt t ')吗?有人面对这些情况吗?
以上来自于百度翻译
以下为原文
I switched the driver to dynamic from static. I was following the developer guide for dynamic driver. But getting 2 errors.
DRV_TMR_AlarmRegister(MyHandle, divider,** true, 0 , MyISR);
1. invalid type argument of unary '*' (have 'int')
(*pClient->alarmCallback)( pClient->context, *pClient->alarmCount);
2. invalid type argument of unary '*' (have '__uint32_t')
Anyone faced these situations?
举报