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

   ## Summary
   The function call dac_txdone(&g_dac1dev) was not contained in ifdef section. 
This was cousing compilation error if only DAC1 was configured as the structure 
g_dac1dev is defined only if DAC0 is used.
   
   This commit fixes the error and ensures the function is called only if 
corresponding DAC is configured.
   
   ## Impact
   
   SAMV7 MCUs only.
   
   ## Testing
   
   Compilation test. Device driver run on a SAMV7 based 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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to