random: doc: warn about global PRNG state
This commit is contained in:
parent
302d5d35e9
commit
83a69c0cb2
@ -39,6 +39,10 @@ extern "C" {
|
||||
/**
|
||||
* @brief initializes PRNG with a seed
|
||||
*
|
||||
* @warning Currently, the random module uses a global state
|
||||
* => multiple calls to @ref random_init will reset the existing
|
||||
* state of the PRNG.
|
||||
*
|
||||
* @param s seed for the PRNG
|
||||
*/
|
||||
void random_init(uint32_t s);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user