mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-10 11:59:05 +02:00
Use new descriptors allocated to picokeys.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -64,12 +64,12 @@ if(ESP_PLATFORM)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED USB_VID)
|
if(NOT DEFINED USB_VID)
|
||||||
set(USB_VID 0xFEFF)
|
set(USB_VID 0x2E8A)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-DUSB_VID=${USB_VID})
|
add_definitions(-DUSB_VID=${USB_VID})
|
||||||
|
|
||||||
if(NOT DEFINED USB_PID)
|
if(NOT DEFINED USB_PID)
|
||||||
set(USB_PID 0xFCFD)
|
set(USB_PID 0x10FD)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-DUSB_PID=${USB_PID})
|
add_definitions(-DUSB_PID=${USB_PID})
|
||||||
|
|
||||||
|
|||||||
@@ -28,10 +28,10 @@
|
|||||||
#include "usb.h"
|
#include "usb.h"
|
||||||
|
|
||||||
#ifndef USB_VID
|
#ifndef USB_VID
|
||||||
#define USB_VID 0xFEFF
|
#define USB_VID 0x2E8A
|
||||||
#endif
|
#endif
|
||||||
#ifndef USB_PID
|
#ifndef USB_PID
|
||||||
#define USB_PID 0xFCFD
|
#define USB_PID 0x10FD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PICO_PLATFORM) || defined(ESP_PLATFORM)
|
#if defined(PICO_PLATFORM) || defined(ESP_PLATFORM)
|
||||||
|
|||||||
Reference in New Issue
Block a user