commit | 472cfaf521ea6c94e4f166f90be01f7b90838e24 | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Thu Dec 19 19:08:19 2024 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Thu Dec 19 19:08:19 2024 +0800 |
tree | c222f616f6f6e964df9e541ccff98897c351c396 | |
parent | dcaf57c18d9c706626b437faeee87cd8304a6143 [diff] [blame] |
Add dev_info v2(Default is v1) Change-Id: I49693856ab5c97a5df3c199ed75091c4eee1800b
diff --git a/mbtk/mbtk_utils_linux/ota_update.c b/mbtk/mbtk_utils_linux/ota_update.c index d064e1b..dbc7bd0 100755 --- a/mbtk/mbtk_utils_linux/ota_update.c +++ b/mbtk/mbtk_utils_linux/ota_update.c
@@ -7,7 +7,12 @@ #include <sys/stat.h> #include <fcntl.h> #include "mbtk_type.h" + +#ifdef MBTK_DEV_INFO_VERSION_2 +#include "mbtk_device_v2.h" +#else #include "mbtk_device.h" +#endif /* * revision_out start from 0x1000.