mirror of
https://github.com/espressif/openthread.git
synced 2026-09-14 05:00:11 +00:00
[entropy] allow for entropy source sharing (#3818)
This commit is contained in:
committed by
Jonathan Hui
parent
fc580c39e6
commit
56fa9ac9cd
@@ -141,7 +141,7 @@ int8_t GetRandomRss(void)
|
||||
{
|
||||
uint32_t value;
|
||||
|
||||
value = otPlatRandomGet() % 128;
|
||||
value = rand() % 128;
|
||||
return -static_cast<int8_t>(value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user