xiaoxiang781216 commented on code in PR #7472: URL: https://github.com/apache/incubator-nuttx/pull/7472#discussion_r1011117069
########## arch/arm/src/kinetis/kinetis_edma.c: ########## @@ -721,18 +707,12 @@ void weak_function arm_dma_initialize(void) /* Initialize data structures */ - memset(&g_edma, 0, sizeof(struct kinetis_edma_s)); Review Comment: Yes, this change avoid the initial sem_t/mutex_t is destroyed by memset. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
