Skip to content
Snippets Groups Projects
Commit 3c499b2e authored by Martine Lenders's avatar Martine Lenders
Browse files

emb6: Update periph_hwnrg CPP check

parent a785ee52
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ int8_t hal_init(void)
uint8_t hal_getrand(void)
{
#if RANDOM_NUMOF
#if defined(MODULE_PERIPH_HWRNG)
uint8_t res;
hwnrg_read((char *)&res, sizeof(res));
return res;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment