Allow removing CDC_ENABLED with define switch

This commit is contained in:
Martino Facchin 2018-07-01 15:07:59 +02:00
parent f9348d2193
commit ecdbde97fa

View file

@ -20,8 +20,13 @@
#define __USBDESC_H__
// CDC or HID can be enabled together.
#ifndef CDC_DISABLED
#define CDC_ENABLED
#endif
#ifndef PLUGGABLE_USB_DISABLED
#define PLUGGABLE_USB_ENABLED
#endif
#ifdef CDC_ENABLED
#define CDC_INTERFACE_COUNT 2