michallenc opened a new pull request, #11595:
URL: https://github.com/apache/nuttx/pull/11595

   ## Summary
   This commit refactors DAC driver. The functionality remains the same but 
driver start up is now done in dac_setup (after application called open 
function) instead of sam_dac_initialize (called from BSP). This ensures that 
driver does not take resources (timer, interrupt) until opened. Implementation 
of dac_shutdown is also provided, therefore the driver frees resources once 
closed.
   
   This change is consistent with other drivers implementation.
   
   ## Impact
   Code re-factorization. Some compile warnings are removed.
   
   ## Testing
   Tested both DAC channels on SAMv7 evaluation kit board.
   
   


-- 
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]

Reply via email to