Attachments are accessible only for community members.
Jun 19, 2019
02:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 19, 2019
02:17 AM
Hi All,
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
cell_asic bms_ic[TOTAL_IC];
I have been unable to find a problem, please experts to help me find the problem.
Thanks,
Lin
Solved! Go to Solution.
1 Solution
Jun 20, 2019
02:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2019
02:38 AM
Hi Lin,
Change const uint8_t TOTAL_IC = 1; to #define TOTAL_IC 1 in your code to get rid of that error.
Cheers!
1 Reply
Jun 20, 2019
02:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2019
02:38 AM
Hi Lin,
Change const uint8_t TOTAL_IC = 1; to #define TOTAL_IC 1 in your code to get rid of that error.
Cheers!