mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
pkt/emb6: fix typo in hwrng call
This commit is contained in:
parent
dd664a88fd
commit
8f766c3fac
@ -50,7 +50,7 @@ uint8_t hal_getrand(void)
|
||||
{
|
||||
#if defined(MODULE_PERIPH_HWRNG)
|
||||
uint8_t res;
|
||||
hwnrg_read((char *)&res, sizeof(res));
|
||||
hwrng_read((char *)&res, sizeof(res));
|
||||
return res;
|
||||
#elif defined(MODULE_RANDOM)
|
||||
return (uint8_t)(random_uint32() % UINT8_MAX);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user