Static declaration error

Code: static unsigned int timer[num_timers];

Error: TIMER_MODULE.C(6): error C221: non-constant case/dim expression

An error has been generated while declaring an array in static.

Or else help me out with " an initial value of the array's element should be zero." what should I do?

Parents Reply Children
No data
More questions in this forum