mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
usb: exclude hid_report_descriptor_debug from non-debug build (#135)
This commit is contained in:
parent
1763a5b647
commit
9eb87245ba
@ -80,6 +80,7 @@ static const uint8_t hid_report_descriptor[] = {
|
||||
0xc0 // END_COLLECTION
|
||||
};
|
||||
|
||||
#if DEBUG_LINK
|
||||
static const uint8_t hid_report_descriptor_debug[] = {
|
||||
0x06, 0x01, 0xff, // USAGE_PAGE (Vendor Defined)
|
||||
0x09, 0x01, // USAGE (1)
|
||||
@ -98,6 +99,7 @@ static const uint8_t hid_report_descriptor_debug[] = {
|
||||
0x91, 0x02, // OUTPUT (Data,Var,Abs)
|
||||
0xc0 // END_COLLECTION
|
||||
};
|
||||
#endif
|
||||
|
||||
static const uint8_t hid_report_descriptor_u2f[] = {
|
||||
0x06, 0xd0, 0xf1, // USAGE_PAGE (FIDO Alliance)
|
||||
|
Loading…
Reference in New Issue
Block a user