Quantcast
Channel: MPLAB Harmony
Viewing all articles
Browse latest Browse all 7442

code review MHC generated code (sunilbarot)

$
0
0
Came across this code snippet in sys_dma.c (image attached). 1. Can somebody help me understand why two line are repeated in if and else construct ?2. if(DMA_TRIGGER_SOURCE_NONE == eventSrc) really ? Compilers take it OK but I would prefer to see it as if..

Viewing all articles
Browse latest Browse all 7442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>