tud_descriptor_configuration_cb never called #1212
Unanswered
sifourquier
asked this question in
Q&A
Replies: 1 comment
-
|
I have found i have 2 tud_descriptor_configuration_cb one in my source and one in the lib i use. if i change in the lib that work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Fixed watch next mesage
Hi
I try to enable TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP
I have add
tud_descriptor_configuration_cb
and
tud_descriptor_other_speed_configuration_cb
returning
uint8_t const desc_configuration[] =
{
// Config number, interface count, string index, total length, attribute, power in mA
TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100),
// Interface number, string index, protocol, report descriptor len, EP In address, size & polling interval
TUD_HID_DESCRIPTOR(ITF_NUM_HID, 0, HID_ITF_PROTOCOL_NONE, sizeof(desc_hid_report), EPNUM_HID, CFG_TUD_HID_EP_BUFSIZE, 5)
};
but tud_descriptor_configuration_cb or tud_descriptor_other_speed_configuration_cb is neverkalled i need chqnge a other parameter?
If you can help me thanks you.
Beta Was this translation helpful? Give feedback.
All reactions