It's static so mem-setting won't really work (or at least it would have to be initialized else where. My goal was simply to create a reusable block of all zeros. I'd imagine the compiler will allocate it out of the bas (but I'm not sure) so it will be part of a larger memset of that whole area by the loader.
Ah. Didn't catch the static part before.
Actually, Mitch just pointed to toward a stack overflow article that it can be replaced with:
static uint8_t zero_array[64] = {}; and the compile will take care of the rest.
Consider it done.
Thanks,
Ali
I was going to suggest = {0}, which I believe will also work, and is a little more explicit.