diff --git a/resources/config_version.py b/resources/config_version.py index 7b7a0a5..d462d45 100644 --- a/resources/config_version.py +++ b/resources/config_version.py @@ -7,7 +7,7 @@ parser.add_argument('ota_type', type=str) args = parser.parse_args() regex = r"\#define NUKI_HUB_VERSION \"(.*)\"" -regex2 = r"\#define NUKI_HUB_VERSION_INT \"(.*)\"" +regex2 = r"\#define NUKI_HUB_VERSION_INT \(uint32_t\)\"(.*)\"" version = "unknown" with open('src/Config.h', 'r') as file: