/* Called to return the currently running connection state machine end time. Always called when interrupts are disabled. */
uint32_t ble_ll_conn_get_ce_end_time(void)
/* Called to return the currently running connection state machine end time. Always called when interrupts are disabled. */
uint32_t ble_ll_conn_get_ce_end_time(void)
{
    uint32_t ce_end_time;
    if (g_ble_ll_conn_cur_sm) {
        ce_end_time = g_ble_ll_conn_cur_sm->ce_end_time;
    } else {
        ce_end_time = os_cputime_get32();
    }
    return ce_end_time;
}