From 48ef64a72915c6ded71002f95ef97c13e506e5c2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 4 Mar 2015 20:38:28 +0000 Subject: stmhal: Make os.sync use disk_ioctl exclusively; reuse os.sync in pyb. --- stmhal/portmodules.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'stmhal/portmodules.h') diff --git a/stmhal/portmodules.h b/stmhal/portmodules.h index 86580ea7f..66354f772 100644 --- a/stmhal/portmodules.h +++ b/stmhal/portmodules.h @@ -33,4 +33,6 @@ extern const mp_obj_module_t mp_module_usocket; // additional helper functions exported by the modules +MP_DECLARE_CONST_FUN_OBJ(mod_os_sync_obj); + mp_uint_t mod_time_seconds_since_2000(mp_uint_t year, mp_uint_t month, mp_uint_t date, mp_uint_t hour, mp_uint_t minute, mp_uint_t second); -- cgit v1.2.3