From 66b8934a54a00662920171972e8d9570622d5dbc Mon Sep 17 00:00:00 2001 From: lxowalle Date: Tue, 13 Aug 2024 13:59:22 +0800 Subject: [PATCH] * fix camera param not init --- components/vision/port/maixcam/maix_camera_mmf.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/vision/port/maixcam/maix_camera_mmf.cpp b/components/vision/port/maixcam/maix_camera_mmf.cpp index f51c2abf..a7d0138d 100644 --- a/components/vision/port/maixcam/maix_camera_mmf.cpp +++ b/components/vision/port/maixcam/maix_camera_mmf.cpp @@ -76,6 +76,7 @@ namespace maix::camera _open_set_regs = set_regs_flag; _device = ""; _last_read_us = time::ticks_us(); + _is_opened = false; if (format == image::Format::FMT_RGB888 && _width * _height * 3 > 640 * 640 * 3) {