server: default UVC ctrl len to 34
This commit is contained in:
parent
003bb44d55
commit
ba4b9837e7
@ -674,7 +674,7 @@ fn parse_request_data(data: [u8; 64]) -> UvcRequestData {
|
||||
}
|
||||
|
||||
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 {
|
||||
STREAM_CTRL_SIZE_11 | STREAM_CTRL_SIZE_15 => value,
|
||||
_ => STREAM_CTRL_SIZE_11,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user