mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-23 13:20:54 +00:00
Fix compile errors when High Speed
This commit is contained in:
parent
8f04d96c07
commit
6a14dd190f
@ -558,7 +558,8 @@ static uint8_t * get_hs_configuration_desc(void) {
|
||||
desc_hs_configuration = desc_fs_configuration;
|
||||
// change endpoint bulk size to 512 if bulk streaming
|
||||
if (CFG_TUD_VIDEO_STREAMING_BULK) {
|
||||
desc_hs_configuration.video_streaming.ep.wMaxPacketSize = 512;
|
||||
desc_hs_configuration.uvc[0].video_streaming.ep.wMaxPacketSize = 512;
|
||||
desc_hs_configuration.uvc[1].video_streaming.ep.wMaxPacketSize = 512;
|
||||
}
|
||||
}
|
||||
init = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user