server: gate UVC SET_CUR ack on env

This commit is contained in:
Brad Stein 2026-01-10 00:39:01 -03:00
parent 06bc0cd98d
commit c7ec6caf4d

View File

@ -524,8 +524,9 @@ fn handle_data(
payload
);
}
// ACK commit after we've processed the payload.
let _ = send_response(fd, uvc_send_response, &[]);
if std::env::var("LESAVKA_UVC_ACK_AFTER_DATA").is_ok() {
let _ = send_response(fd, uvc_send_response, &[]);
}
}
}
}