xiaoxiang781216 commented on code in PR #7472: URL: https://github.com/apache/incubator-nuttx/pull/7472#discussion_r1011124101
########## arch/arm/src/nrf52/nrf52_rng.c: ########## @@ -124,13 +128,6 @@ static int nrf52_rng_initialize(void) first_flag = false; - _info("Initializing RNG\n"); - - memset(&g_rngdev, 0, sizeof(struct rng_dev_s)); Review Comment: Yes, the change avoid memset destroy the initial value. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org