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.

移植将HVACI_Scalar出现的问题



 

将HVACI_Scalar 从28035移植到28069时,出现以下问题:

PINT *Dest = &PieVectTable.TINT1;

同样的一条语句,在28035下编译通过,在28069下编译时出现错误:

 #145 a value of type "volatile PINT *" cannot be used to initialize an entity of type "PINT *"

28035 和28069 对PINT定义:

typedef interrupt void(*PINT)(void);

请各位给予帮助,谢谢!