mirror of
https://github.com/espressif/openthread.git
synced 2026-09-15 21:50:08 +00:00
[clang-format] use AllowShortFunctionsOnASingleLine: All (#8502)
This commit updates `AllowShortFunctionsOnASingleLine` to `All` from `InlineOnly`.
This commit is contained in:
@@ -187,18 +187,12 @@ otError otPlatRadioTransmit(otInstance *, otRadioFrame *)
|
||||
return OT_ERROR_NONE;
|
||||
}
|
||||
|
||||
otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *)
|
||||
{
|
||||
return &sRadioTxFrame;
|
||||
}
|
||||
otRadioFrame *otPlatRadioGetTransmitBuffer(otInstance *) { return &sRadioTxFrame; }
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
// `otPlatAlaram
|
||||
|
||||
void otPlatAlarmMilliStop(otInstance *)
|
||||
{
|
||||
sAlarmOn = false;
|
||||
}
|
||||
void otPlatAlarmMilliStop(otInstance *) { sAlarmOn = false; }
|
||||
|
||||
void otPlatAlarmMilliStartAt(otInstance *, uint32_t aT0, uint32_t aDt)
|
||||
{
|
||||
@@ -206,10 +200,7 @@ void otPlatAlarmMilliStartAt(otInstance *, uint32_t aT0, uint32_t aDt)
|
||||
sAlarmTime = aT0 + aDt;
|
||||
}
|
||||
|
||||
uint32_t otPlatAlarmMilliGetNow(void)
|
||||
{
|
||||
return sNow;
|
||||
}
|
||||
uint32_t otPlatAlarmMilliGetNow(void) { return sNow; }
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
// otPlatInfraIf
|
||||
|
||||
Reference in New Issue
Block a user