Skip to content
Commit d4cc8de6 authored by Tomasz Moń's avatar Tomasz Moń Committed by Benjamin Cabé
Browse files

drivers: udc_dwc2: Add helpers to check operating mode



Use helper functions to check whether device is operating in Buffer DMA
or Completer mode. This allows compile time optimizations to remove DMA
handling code when DMA is disabled via KConfig symbol UDC_DWC2_DMA.

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent d4b2b749
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment