We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7d2e1 commit 5606528Copy full SHA for 5606528
adafruit_led_animation/__init__.py
@@ -37,6 +37,9 @@ def const(value): # pylint: disable=missing-docstring
37
from time import monotonic_ns
38
39
def monotonic_ms():
40
+ """
41
+ Return monotonic time in milliseconds.
42
43
return monotonic_ns() // NANOS_PER_MS
44
45
@@ -45,7 +48,7 @@ def monotonic_ms():
48
46
49
47
50
"""
- Implementation of monotonic_ns for platforms without time.monotonic_ns
51
+ Implementation of monotonic_ms for platforms without time.monotonic_ns
52
53
return int(time.monotonic() * MS_PER_SECOND)
54
0 commit comments