diff options
author | Damien George <damien.p.george@gmail.com> | 2015-03-04 20:38:28 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-03-04 20:38:28 +0000 |
commit | 48ef64a72915c6ded71002f95ef97c13e506e5c2 (patch) | |
tree | 801d609be32acfe0f25ac994bba1cbc79cdb1463 /stmhal/portmodules.h | |
parent | 4f94d90d4dba522a2fcf451da9c78e810782e2c0 (diff) | |
download | micropython-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.h | 2 |
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); |