feat(openthread): use freertos timer for debug logs

This commit is contained in:
Tan Yan Quan
2025-04-14 16:34:21 +08:00
parent 60d077eadd
commit 2685cc10e0
2 changed files with 18 additions and 16 deletions
@@ -534,7 +534,7 @@ void otPlatRadioUpdateCslSampleTime(otInstance *aInstance, uint32_t aCslSampleTi
s_csl_sample_time = aCslSampleTime;
}
static IRAM_ATTR uint16_t get_csl_phase()
static IRAM_ATTR uint16_t get_csl_phase(void)
{
uint32_t cur_time = otPlatTimeGet();
uint32_t csl_period_us = s_csl_period * OT_US_PER_TEN_SYMBOLS;