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.

CC2540: About HAL_SYSTEM_RESET();

Part Number: CC2540


I want to system reset when this GAPROLE_WAITING_AFTER_TIMEOUT state happend.

case GAPROLE_WAITING_AFTER_TIMEOUT:
{
HAL_SYSTEM_RESET();  //<---------------------------
#ifdef PLUS_BROADCASTER
// Reset flag for next connection.
first_conn_flag = 0;
#endif 
}

but system don't reset??