Skip to content

Commit

Permalink
[radio] otPlatRadioGetNow fallback to otPlatTimeGet (openthread#10646)
Browse files Browse the repository at this point in the history
This commit makes the default otPlatRadioGetNow implementation fallback
to to otPlatTimeGet so that the default one is a correct implementation
in single chip architecture.
  • Loading branch information
bukepo authored Aug 28, 2024
1 parent f91610f commit 3a525f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/radio/radio_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3a525f3

Please sign in to comment.