py/makemoduledefs.py: Fix declaring multiple module delegations.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
b02a5fa10a
commit
44295c9daa
@ -109,7 +109,7 @@ def generate_module_delegations(delegations):
|
||||
print("\n#define MICROPY_MODULE_DELEGATIONS \\")
|
||||
for obj_module, fun_name in delegations:
|
||||
print(
|
||||
" {{ MP_ROM_PTR(&{obj_module}), {fun_name} }},".format(
|
||||
" {{ MP_ROM_PTR(&{obj_module}), {fun_name} }}, \\".format(
|
||||
obj_module=obj_module, fun_name=fun_name
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user