Fix compilation if USBCON is not defined
This commit is contained in:
parent
b6ccd4f9ed
commit
18bcded0f1
1 changed files with 4 additions and 0 deletions
|
|
@ -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__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue