mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 20:57:47 +00:00
[link-quality] have LinkQualityInfo inherit from IntsanceLocatorInit (#4569)
This commit is contained in:
committed by
Jonathan Hui
parent
0f5edc4c89
commit
2437a75a6b
@@ -34,6 +34,8 @@
|
||||
|
||||
namespace ot {
|
||||
|
||||
static ot::Instance *sInstance;
|
||||
|
||||
enum
|
||||
{
|
||||
kMaxRssValue = 0,
|
||||
@@ -89,6 +91,10 @@ void TestLinkQualityData(RssTestData aRssData)
|
||||
int8_t rss, ave, min, max;
|
||||
size_t i;
|
||||
|
||||
sInstance = testInitInstance();
|
||||
VerifyOrQuit(sInstance != NULL, "Null instance");
|
||||
linkInfo.Init(*sInstance);
|
||||
|
||||
printf("- - - - - - - - - - - - - - - - - -\n");
|
||||
linkInfo.Clear();
|
||||
min = kMinRssValue;
|
||||
|
||||
Reference in New Issue
Block a user