diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-01-08 22:10:33 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-01-08 22:10:33 -0800 |
| commit | 161ab018ba0d30d958d449de5a4ce2bcf1a9c426 (patch) | |
| tree | 2e846a37cbb0ded434bd0fe9564bc369aa3a8145 | |
| parent | 37f2ff11e46f631babdb0741f32b05e4e76b3490 (diff) | |
Correct monotonic.
Fixes #69.
| -rw-r--r-- | shared-bindings/time/__init__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c index 1fdacc075..ad0e93375 100644 --- a/shared-bindings/time/__init__.c +++ b/shared-bindings/time/__init__.c @@ -52,7 +52,7 @@ //| :rtype: float //| STATIC mp_obj_t time_monotonic(void) { - return mp_obj_new_float(common_hal_time_monotonic() / 100.0); + return mp_obj_new_float(common_hal_time_monotonic() / 1000.0); } MP_DEFINE_CONST_FUN_OBJ_0(time_monotonic_obj, time_monotonic); |
