Merge pull request #5550 from sarahmarshy/patch-13

Fix bug in K64F trng_api.c
pull/5586/merge
Martin Kojtal 2017-11-30 18:11:46 +00:00 committed by GitHub
commit a6df4ca119
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 */