chaoskey: Wait for input data to stabilize before using it
authorKeith Packard <keithp@keithp.com>
Tue, 12 Sep 2017 20:40:06 +0000 (13:40 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 12 Sep 2017 20:40:06 +0000 (13:40 -0700)
commit10d14146ef84fbe4670454bc0996854a4066cfea
tree1e9c4b3b374dc0739dbc347db6193977b8d28ab6
parent8284ba8bf78aade8f9d8f711cfefe2010ce81066
chaoskey: Wait for input data to stabilize before using it

The ADC data takes a while to start working after power on; wait for
the range of input values to look reasonable before using the data.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_trng_send.c