server: default UVC ctrl len to 34

This commit is contained in:
Brad Stein 2026-01-06 22:59:49 -03:00
parent 003bb44d55
commit ba4b9837e7

View File

@ -674,7 +674,7 @@ fn parse_request_data(data: [u8; 64]) -> UvcRequestData {
} }
fn stream_ctrl_len() -> usize { fn stream_ctrl_len() -> usize {
let value = env_u32("LESAVKA_UVC_CTRL_LEN", STREAM_CTRL_SIZE_11 as u32) as usize; let value = env_u32("LESAVKA_UVC_CTRL_LEN", STREAM_CTRL_SIZE_15 as u32) as usize;
match value { match value {
STREAM_CTRL_SIZE_11 | STREAM_CTRL_SIZE_15 => value, STREAM_CTRL_SIZE_11 | STREAM_CTRL_SIZE_15 => value,
_ => STREAM_CTRL_SIZE_11, _ => STREAM_CTRL_SIZE_11,