mirror of
https://github.com/espressif/openthread.git
synced 2026-07-28 06:37:46 +00:00
[tests] Fix some unit tests random fail issue (#1966)
This commit is contained in:
@@ -52,6 +52,7 @@ Dataset::Dataset(const Tlv::Type aType) :
|
||||
mLength(0),
|
||||
mType(aType)
|
||||
{
|
||||
memset(mTlvs, 0, sizeof(mTlvs));
|
||||
}
|
||||
|
||||
void Dataset::Clear(void)
|
||||
|
||||
@@ -495,7 +495,7 @@ exit:
|
||||
(void)aValue;
|
||||
(void)aValueLength;
|
||||
|
||||
return OT_ERROR_NONE;
|
||||
return OT_ERROR_NOT_FOUND;
|
||||
}
|
||||
|
||||
otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength)
|
||||
|
||||
Reference in New Issue
Block a user