mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Add compatibility for non-pico boards.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -34,7 +34,11 @@
|
|||||||
#define USB_PID 0xFCFD
|
#define USB_PID 0xFCFD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(PICO_PLATFORM) || defined(ESP_PLATFORM)
|
||||||
#define USB_BCD 0x0200
|
#define USB_BCD 0x0200
|
||||||
|
#else
|
||||||
|
#define USB_BCD 0x0110
|
||||||
|
#endif
|
||||||
|
|
||||||
#define USB_CONFIG_ATT_ONE TU_BIT(7)
|
#define USB_CONFIG_ATT_ONE TU_BIT(7)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user