0
请注意,有什么问题?c - 错误:“不完整的类型是不允许的”,IAR编译器
在.H
struct {
uint8_t time;
uint8_t type;
uint8_t phase;
uint8_t status;
} Raw_data_struct;
typedef struct Raw_data_struct Getst_struct;
void Getst_resp(Getst_struct Data);
在.C
void Getst_resp(Getst_struct Data) //Here Error: incomplete type is not allowed
{
};
你说得对!非常感谢! –