diff --git a/components/vision/port/maixcam/maix_display_mmf.hpp b/components/vision/port/maixcam/maix_display_mmf.hpp index bb261144..d5d31d7a 100644 --- a/components/vision/port/maixcam/maix_display_mmf.hpp +++ b/components/vision/port/maixcam/maix_display_mmf.hpp @@ -45,7 +45,7 @@ namespace maix::display log::info("Found panel env MMF_PANEL_NAME=%s\r\n", panel_env); strncpy(panel_value, panel_env, sizeof(panel_value)); } else { - for (const auto& [k, v] : sys::device_configs(false)) { + for (const auto& [k, v] : sys::device_configs()) { if (k == "panel") { std::copy(v.begin(), v.end(), panel_value); }