Skip to content

Commit

Permalink
Correct monotonic.
Browse files Browse the repository at this point in the history
Fixes #69.
  • Loading branch information
tannewt committed Jan 9, 2017
1 parent 37f2ff1 commit 161ab01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-bindings/time/__init__.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 161ab01

Please sign in to comment.