mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
usb: Fix VID/PID macros documentation
This commit is contained in:
parent
f05004b3fd
commit
d835c52a4b
@ -26,20 +26,31 @@ extern "C" {
|
||||
|
||||
/**
|
||||
* @brief USB peripheral device vendor ID
|
||||
*
|
||||
* @note You must provide your own VID/PID combination when manufacturing a
|
||||
* device with USB.
|
||||
*/
|
||||
#ifndef USB_CONFIG_VID
|
||||
#ifdef DOXYGEN
|
||||
#define USB_CONFIG_VID
|
||||
#else
|
||||
#error Please supply your vendor ID by setting USB_CONFIG_VID
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief USB peripheral device product ID
|
||||
*
|
||||
* You must provide your own VID/PID combination when manufacturing a device
|
||||
* with USB
|
||||
* @note You must provide your own VID/PID combination when manufacturing a
|
||||
* device with USB.
|
||||
*/
|
||||
#ifndef USB_CONFIG_PID
|
||||
#ifdef DOXYGEN
|
||||
#define USB_CONFIG_PID
|
||||
#else
|
||||
#error Please supply your vendor ID by setting USB_CONFIG_PID
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief USB peripheral manufacturer string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user