mirror of
https://github.com/espressif/openthread.git
synced 2026-09-08 10:10:06 +00:00
[radio-spinel] remove unused method HandleHdlcError (#3301)
This commit is contained in:
committed by
Jonathan Hui
parent
bf72fd8f8d
commit
49523f72e6
@@ -391,15 +391,6 @@ exit:
|
||||
LogIfFail("Error handling hdlc frame", error);
|
||||
}
|
||||
|
||||
void RadioSpinel::HandleHdlcError(void *aContext, otError aError, uint8_t *aBuffer, uint16_t aLength)
|
||||
{
|
||||
otLogWarnPlat("Error decoding hdlc frame: %s", otThreadErrorToString(aError));
|
||||
OT_UNUSED_VARIABLE(aContext);
|
||||
OT_UNUSED_VARIABLE(aError);
|
||||
OT_UNUSED_VARIABLE(aBuffer);
|
||||
OT_UNUSED_VARIABLE(aLength);
|
||||
}
|
||||
|
||||
void RadioSpinel::HandleNotification(const uint8_t *aBuffer, uint16_t aLength)
|
||||
{
|
||||
spinel_prop_key_t key;
|
||||
|
||||
@@ -533,7 +533,6 @@ private:
|
||||
va_list args);
|
||||
otError ParseRadioFrame(otRadioFrame &aFrame, const uint8_t *aBuffer, uint16_t aLength);
|
||||
|
||||
static void HandleHdlcError(void *aContext, otError aError, uint8_t *aBuffer, uint16_t aLength);
|
||||
static void HandleSpinelFrame(void *aContext, uint8_t *aBuffer, uint16_t aLength)
|
||||
{
|
||||
static_cast<RadioSpinel *>(aContext)->HandleSpinelFrame(aBuffer, aLength);
|
||||
|
||||
Reference in New Issue
Block a user