FIX: Remember the bed typ of the previous project

Change-Id: Id3b0e4ec7f8b4fcb2396f6f9f22789736e48eb8a
(cherry picked from commit 2ea818594b6da0ee323b5e255c36b45ff4247324)
This commit is contained in:
zhimin.zeng 2022-09-21 15:51:38 +08:00 committed by Lane.Wei
parent 1ed06855a9
commit 2ee113b9da
2 changed files with 11 additions and 1 deletions

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");