cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1X on LPC804 stuck in "while(state)"

NThom.1184
Associate

Hi, I hope you can help me with this one.

My problem is on line 127 I'm making an array of structs. i would like to make them global, but if I move line 127 to line 74 (Where my courser is) I get stuck in the while(state) on line 94.

Why can't I make is global?

I've been stuck in while before. if i change the size of the array in line 127 to "10" I'll also get stuck in "while(state)"

Does someone know if I have to call a specific function before powering down (to make me not get stuck in "while(state), or anyone who knows why i get stuck in "while(state)" when i change the code?

Best regards

0 REPLIES 0