I have a problem with the attachment project. Alaways show below error message ,
main.c:328:11: error: variably modified 'bms_ic' at file scope
I have been unable to find a problem, please experts to help me find the problem.
Change const uint8_t TOTAL_IC = 1; to #define TOTAL_IC 1 in your code to get rid of that error.