Skip to main content
Visitor II
November 13, 2019
Question

VL53L1X on LPC804 stuck in "while(state)"

  • November 13, 2019
  • 0 replies
  • 615 views

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

    This topic has been closed for replies.