Update K64F trng_api.c

pull/5550/head
sarahmarshy 2017-11-21 16:50:43 -06:00 committed by GitHub
parent a519b8449b
commit cefcb8cff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ void trng_free(trng_t *obj)
*/
static void trng_get_byte(unsigned char *byte)
{
*byte = 0;
size_t bit;
/* 34.5 Steps 3-4-5: poll SR and read from OR when ready */