summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/portmodules.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-04 20:38:28 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-04 20:38:28 +0000
commit48ef64a72915c6ded71002f95ef97c13e506e5c2 (patch)
tree801d609be32acfe0f25ac994bba1cbc79cdb1463 /stmhal/portmodules.h
parent4f94d90d4dba522a2fcf451da9c78e810782e2c0 (diff)
downloadmicropython-48ef64a72915c6ded71002f95ef97c13e506e5c2.tar.gz
micropython-48ef64a72915c6ded71002f95ef97c13e506e5c2.zip
stmhal: Make os.sync use disk_ioctl exclusively; reuse os.sync in pyb.
Diffstat (limited to 'stmhal/portmodules.h')
-rw-r--r--stmhal/portmodules.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/portmodules.h b/stmhal/portmodules.h
index 86580ea7fe..66354f7723 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);