This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Right way of doing simple_peripheral_spin() in the product

Part Number: CC2640R2F

This is maybe a very trial question...

What is the right way of doing simple_peripheral_spin() if the code is used in the product?

In the example code:

static void simple_peripheral_spin(void) { volatile uint8_t x = 0; while(1) { x++; } }

I believe that was for the debugging purpose. For a released product, what is the right way?

Removed the ASSERT away?

Put a reboot code?

Samson