summaryrefslogtreecommitdiff
path: root/stmhal/portmodules.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/portmodules.h')
-rw-r--r--stmhal/portmodules.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/stmhal/portmodules.h b/stmhal/portmodules.h
index 68ae2f47c..173d53cc6 100644
--- a/stmhal/portmodules.h
+++ b/stmhal/portmodules.h
@@ -33,8 +33,8 @@ extern const mp_obj_module_t mp_module_usocket;
// additional helper functions exported by the modules
-MP_DECLARE_CONST_FUN_OBJ(time_sleep_ms_obj);
-MP_DECLARE_CONST_FUN_OBJ(time_sleep_us_obj);
+MP_DECLARE_CONST_FUN_OBJ_1(time_sleep_ms_obj);
+MP_DECLARE_CONST_FUN_OBJ_1(time_sleep_us_obj);
-MP_DECLARE_CONST_FUN_OBJ(mod_os_sync_obj);
-MP_DECLARE_CONST_FUN_OBJ(mod_os_dupterm_obj);
+MP_DECLARE_CONST_FUN_OBJ_0(mod_os_sync_obj);
+MP_DECLARE_CONST_FUN_OBJ_VAR_BETWEEN(mod_os_dupterm_obj);