8000 py/makemoduledefs.py: Fix declaring multiple module delegations. · duncf/micropython@44295c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44295c9

Browse files
committed
py/makemoduledefs.py: Fix declaring multiple module delegations.
Signed-off-by: Damien George <damien@micropython.org>
1 parent b02a5fa commit 44295c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/makemoduledefs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def generate_module_delegations(delegations):
109109
print("\n#define MICROPY_MODULE_DELEGATIONS \\")
110110
for obj_module, fun_name in delegations:
111111
print(
112-
" {{ MP_ROM_PTR(&{obj_module}), {fun_name} }},".format(
112+
" {{ MP_ROM_PTR(&{obj_module}), {fun_name} }}, \\".format(
113113
obj_module=obj_module, fun_name=fun_name
114114
)
115115
)

0 commit comments

Comments
 (0)
0