🎨 style(main): 简化变量声明

This commit is contained in:
conglinyizhi 2024-12-07 12:19:32 +08:00
parent 8e3a43173f
commit 16fdb77ee7
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ fn main() {
eprint!("Open Camera Error:{}", e)
}
}
let mut w = 0 as i32;
let mut h = 0 as i32;
let mut w = 0;
let mut h = 0;
if camera_open {
loop {
// 捕获一帧图像