/* Function for doing action upon flash operation success event.  */
static void flash_operation_success_run(void)
/* Function for doing action upon flash operation success event.  */
static void flash_operation_success_run(void)
{    
    switch (m_state)
    {                   
        case STATE_STORE:
            store_sub_state_sm_run();
            break;
        case STATE_DATA_ERASE:
            erase_sub_state_sm_run();
            break;
        case STATE_DATA_ERASE_WITH_SWAP:
            swap_sub_state_sm_run();                        
            break;                        
        default:
            break;
    }                    
}