Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 2 months ago.
I'm getting a weird hang on the following line of code:
uint32_t* newArr = (uint32_t*)malloc(newSize*4);
where newSize is an int, and in my testing it is almost always 2 when it hangs. Does anybody know what might be causing this or any suggestions on what to try?