From 44295c9daa8a9210e2855ef431de21362c0cb662 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 12 Jun 2023 13:09:29 +1000 Subject: [PATCH] py/makemoduledefs.py: Fix declaring multiple module delegations. Signed-off-by: Damien George --- py/makemoduledefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/makemoduledefs.py b/py/makemoduledefs.py index b1e118bf37..66d4bff65c 100644 --- a/py/makemoduledefs.py +++ b/py/makemoduledefs.py @@ -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 ) )