/* Function for changing the state of the TX state machine.  */
static void tx_sm_state_change(tx_state_t new_state)
/* Function for changing the state of the TX state machine.  */
static void tx_sm_state_change(tx_state_t new_state)
{
    m_tx_state = new_state;
    tx_sm_event_handle(TX_EVENT_STATE_ENTRY);
}