mirror of https://github.com/ARMmbed/mbed-os.git
Update K64F trng_api.c
parent
1c67d62271
commit
a412131235
|
@ -50,6 +50,7 @@ void trng_free(trng_t *obj)
|
||||||
*/
|
*/
|
||||||
static void trng_get_byte(unsigned char *byte)
|
static void trng_get_byte(unsigned char *byte)
|
||||||
{
|
{
|
||||||
|
*byte = 0;
|
||||||
size_t bit;
|
size_t bit;
|
||||||
|
|
||||||
/* 34.5 Steps 3-4-5: poll SR and read from OR when ready */
|
/* 34.5 Steps 3-4-5: poll SR and read from OR when ready */
|
||||||
|
|
Loading…
Reference in New Issue