FIX: Remember the bed typ of the previous project

Change-Id: Id3b0e4ec7f8b4fcb2396f6f9f22789736e48eb8a
(cherry picked from commit 2ea818594b6da0ee323b5e255c36b45ff4247324)
This commit is contained in:
zhimin.zeng authored and Lane.Wei committed 2022-09-29 11:16:43 +08:00
1 parent 1ed06855a9
commit 2ee113b9da
2 files changed
+11 -1

No files matched your search

+4
View File
@@ -285,6 +285,10 @@ void AppConfig::set_defaults()
set("backup_interval", "10");
}
if (get("curr_bed_type").empty()) {
set("curr_bed_type", "0");
}
#if BBL_RELEASE_TO_PUBLIC
if (get("iot_environment").empty()) {
set("iot_environment", "3");