change HAL_TDM_EVENT_SOURCE_MAX define position