mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/usb: Add PID/VID check in macro
This commit is contained in:
parent
afd8152800
commit
7f134c6c74
@ -53,7 +53,15 @@ extern "C" {
|
||||
#error Please configure your vendor and product IDs. For development, you may \
|
||||
set USB_VID=${USB_VID_TESTING} USB_PID=${USB_PID_TESTING}.
|
||||
#endif
|
||||
#else
|
||||
#if CONFIG_USB_VID == INTERNAL_PERIPHERAL_VID && \
|
||||
CONFIG_USB_PID == INTERNAL_PERIPHERAL_PID
|
||||
#error Please configure your vendor and product IDs differently than the \
|
||||
INTERNAL_PERIPHERAL_* settings. For development, you may set \
|
||||
USB_VID=${USB_VID_TESTING} \
|
||||
USB_PID=${USB_PID_TESTING}.
|
||||
#endif
|
||||
#endif /* !(defined(CONFIG_USB_VID) && defined(CONFIG_USB_PID)) */
|
||||
|
||||
/**
|
||||
* @brief USB peripheral device vendor ID
|
||||
|
Loading…
Reference in New Issue
Block a user