/* Function for dispatching the correct application main state entry action.  */
static void state_entry_action_run(void)
/* Function for dispatching the correct application main state entry action.  */
static void state_entry_action_run(void)
{
    switch (m_state)
    {
        case STATE_IDLE:
            state_idle_entry_run();
            break;
        case STATE_STORE:
            state_store_entry_run();
            break;
        case STATE_DATA_ERASE_WITH_SWAP:
            state_data_erase_swap_entry_run();
            break;
        case STATE_DATA_ERASE:
            state_data_erase_entry_run();        
            break;
        default:
            break;
    }
}