From 3a525f3b577cdef8848c342c86bd88eebc7e90dd Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Thu, 29 Aug 2024 01:54:19 +0800 Subject: [PATCH] [radio] otPlatRadioGetNow fallback to otPlatTimeGet (#10646) This commit makes the default otPlatRadioGetNow implementation fallback to to otPlatTimeGet so that the default one is a correct implementation in single chip architecture. --- src/core/radio/radio_platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/radio/radio_platform.cpp b/src/core/radio/radio_platform.cpp index 3556d2629..6ce3c48a2 100644 --- a/src/core/radio/radio_platform.cpp +++ b/src/core/radio/radio_platform.cpp @@ -253,7 +253,7 @@ OT_TOOL_WEAK uint64_t otPlatRadioGetNow(otInstance *aInstance) { OT_UNUSED_VARIABLE(aInstance); - return UINT64_MAX; + return otPlatTimeGet(); } OT_TOOL_WEAK uint32_t otPlatRadioGetBusSpeed(otInstance *aInstance)