Skip to content

Commit

Permalink
enable init LCD load board config from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Nov 26, 2024
1 parent a94659a commit 4ddae04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vision/port/maixcam/maix_display_mmf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4ddae04

Please sign in to comment.