mirror of
https://github.com/espressif/openthread.git
synced 2026-08-17 16:09:51 +00:00
[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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user