Update config_version.py

This commit is contained in:
iranl
2024-12-03 23:01:27 +01:00
committed by GitHub
parent 2c7ea057d1
commit c4f9644c97

View File

@@ -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: