Fix compilation if USBCON is not defined

This commit is contained in:
Martino Facchin 2018-07-09 12:27:43 +02:00
parent b6ccd4f9ed
commit 18bcded0f1

View file

@ -19,6 +19,8 @@
#ifndef __USBDESC_H__
#define __USBDESC_H__
#ifdef USBCON
// CDC or HID can be enabled together.
#ifndef CDC_DISABLED
#define CDC_ENABLED
@ -35,4 +37,6 @@
#define IPRODUCT 2
#define ISERIAL 3
#endif /* USBCON */
#endif /* __USBDESC_H__ */