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.
你实际定义了34个元素。看一下UDS_FIM_MAX_NUM的定义,是否大于34
如果数组长度会有变化,最好不要指定数组长度,建议如此操作:
stUdsFimStatus UdsFimTable[] = { ....... }; //表格长度 #define UDS_FIM_MAX_NUM (sizeof(UdsFimTable) / sizeof(UdsFimTable[0]))