diff options
| author | Ha Thach <[email protected]> | 2021-10-11 15:57:46 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-11 15:57:46 +0700 |
| commit | ecec0370cac2a64ef2a0cf2e4e13f1c4e738e81b (patch) | |
| tree | 1b5be20ee4f09a1518051297a5f39f088ef69fad /src/tusb.h | |
| parent | 9660a5821fd36af10235c400700ae7d2730ec55f (diff) | |
| parent | a6723f556d7b302137ca42c7f811d3484f25414a (diff) | |
Merge pull request #1107 from majbthrd/add_ncm
add NCM driver in a compatible manner : hathach/tinyusb#550
Diffstat (limited to 'src/tusb.h')
| -rw-r--r-- | src/tusb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tusb.h b/src/tusb.h index b52f8839a..bdfcb5be6 100644 --- a/src/tusb.h +++ b/src/tusb.h @@ -76,9 +76,9 @@ #include "class/msc/msc_device.h" #endif -#if CFG_TUD_AUDIO - #include "class/audio/audio_device.h" -#endif + #if CFG_TUD_AUDIO + #include "class/audio/audio_device.h" + #endif #if CFG_TUD_MIDI #include "class/midi/midi_device.h" @@ -100,7 +100,7 @@ #include "class/dfu/dfu_device.h" #endif - #if CFG_TUD_NET + #if CFG_TUD_ECM_RNDIS || CFG_TUD_NCM #include "class/net/net_device.h" #endif |
