Patched bad formatting
This commit is contained in:
@@ -113,7 +113,7 @@ def weaken_handlers_file(path: Path):
|
|||||||
content = _if.read()
|
content = _if.read()
|
||||||
|
|
||||||
myre = re.compile(r"void ([A-Z][A-Za-z]+)_Handler\(void\)")
|
myre = re.compile(r"void ([A-Z][A-Za-z]+)_Handler\(void\)")
|
||||||
replaced = myre.sub(r"__attribute__\(\(weak\)\) void \1_Handler\(void\)", content)
|
replaced = myre.sub(r"__attribute__((weak)) void \1_Handler(void)", content)
|
||||||
|
|
||||||
with open(path, "w") as of:
|
with open(path, "w") as of:
|
||||||
of.write(replaced)
|
of.write(replaced)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "mx_convert"
|
name = "mx_convert"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
description = "A Cube MX projct conversion helper"
|
description = "A Cube MX projct conversion helper"
|
||||||
authors = [{ name = "Didas72" }]
|
authors = [{ name = "Didas72" }]
|
||||||
dependencies = []
|
dependencies = []
|
||||||
|
|||||||
Reference in New Issue
Block a user