1
0
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:
Leandro Lanzieri 2019-12-04 15:04:11 +01:00
parent f05004b3fd
commit d835c52a4b

View File

@ -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