feat(openthread): use freertos timer for debug logs

This commit is contained in:
Tan Yan Quan
2025-04-14 16:37:35 +08:00
parent a542b2b36a
commit c66fe0a72c
2 changed files with 18 additions and 16 deletions
@@ -543,7 +543,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;