mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 11:17:46 +00:00
@@ -36,14 +36,6 @@ namespace Thread {
|
||||
|
||||
// This module implements unit-test for NcpFrameBuffer class.
|
||||
|
||||
extern"C" void otSignalTaskletPending(otInstance *)
|
||||
{
|
||||
}
|
||||
|
||||
extern "C" void otPlatDiagAlarmFired(otInstance *)
|
||||
{
|
||||
}
|
||||
|
||||
enum
|
||||
{
|
||||
kTestBufferSize = 101, // Size of backed buffer for NcpFrameBuffer.
|
||||
@@ -468,9 +460,11 @@ void TestNcpFrameBuffer(void)
|
||||
|
||||
} // namespace Thread
|
||||
|
||||
#ifdef ENABLE_TEST_MAIN
|
||||
int main(void)
|
||||
{
|
||||
Thread::TestNcpFrameBuffer();
|
||||
printf("\nAll tests passed.\n");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user