Skip to content
Commit 95b7385b authored by Thomas Stranger's avatar Thomas Stranger Committed by Christopher Friedt
Browse files

drivers: entropy: stm32: don't use zero value



According to the Reference Manual of several series(G0,L5,WL,WB,...)
RNG_DR register value should only be used if it is different from 0:
"Because when it is the case a seed error occurred between RNG_SR
polling and RND_DR output reading (rare event)."

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent 95c3916c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment