mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: refine new version protocol in upgrading
Change-Id: I8c14dce6a20ca93cf42ff55b4610c397cdbf97e3 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
531794d131
commit
2866e33304
3 changed files with 64 additions and 13 deletions
|
@ -296,6 +296,7 @@ public:
|
|||
std::string sn;
|
||||
std::string hw_ver;
|
||||
std::string sw_ver;
|
||||
std::string sw_new_ver;
|
||||
};
|
||||
|
||||
/* static members and functions */
|
||||
|
@ -413,6 +414,8 @@ public:
|
|||
std::string ota_new_version_number;
|
||||
std::string ahb_new_version_number;
|
||||
std::map<std::string, ModuleVersionInfo> module_vers;
|
||||
std::map<std::string, ModuleVersionInfo> new_ver_list;
|
||||
bool m_new_ver_list_exist = false;
|
||||
int upgrade_err_code = 0;
|
||||
std::vector<FirmwareInfo> firmware_list;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue