Skip to content

Commit

Permalink
submodule: bump openthread from 848de78 to be10913 (#746)
Browse files Browse the repository at this point in the history
Bumps [openthread](https://github.com/openthread/openthread) from `848de78` to `be10913`.
- [Commits](openthread/openthread@848de78...be10913)

---
updated-dependencies:
- dependency-name: openthread
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
jwhui authored May 20, 2024
1 parent 8eb4315 commit a01fd09
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/imx_rt/platform/spinel_hdlc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include "fsl_component_serial_manager.h"
#include "fsl_os_abstraction.h"

#include "lib/utils/utils.hpp"

#include <openthread/tasklet.h>
#include <openthread/platform/alarm-milli.h>

Expand Down Expand Up @@ -128,11 +130,11 @@ otError HdlcInterface::SendFrame(const uint8_t *aFrame, uint16_t aLength)
otError error = OT_ERROR_NONE;
assert(encoderBuffer.IsEmpty());

SuccessOrExit(error = mHdlcEncoder.BeginFrame());
SuccessOrExit(error = mHdlcEncoder.Encode(aFrame, aLength));
SuccessOrExit(error = mHdlcEncoder.EndFrame());
EXPECT_NO_ERROR(error = mHdlcEncoder.BeginFrame());
EXPECT_NO_ERROR(error = mHdlcEncoder.Encode(aFrame, aLength));
EXPECT_NO_ERROR(error = mHdlcEncoder.EndFrame());
OT_PLAT_DBG("frame len to send = %d/%d", encoderBuffer.GetLength(), aLength);
SuccessOrExit(error = Write(encoderBuffer.GetFrame(), encoderBuffer.GetLength()));
EXPECT_NO_ERROR(error = Write(encoderBuffer.GetFrame(), encoderBuffer.GetLength()));

exit:
if (error != OT_ERROR_NONE)
Expand Down
2 changes: 1 addition & 1 deletion src/imx_rt/rt1060/openthread-core-rt1060-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ LOG_MODULE_DEFINE(ot_stack_log, kLOG_LevelDebug)
* `RadioSpinel` platform is used.
*
*/
#define OPENTHREAD_CONFIG_PLATFORM_RADIO_SPINEL_RX_FRAME_BUFFER_SIZE 512
#define OPENTHREAD_LIB_SPINEL_RX_FRAME_BUFFER_SIZE 512

/**
* @def OPENTHREAD_CONFIG_PING_SENDER_ENABLE
Expand Down

0 comments on commit a01fd09

Please sign in to comment.