Skip to content

time.monotonic() returns no fraction of seconds after *long* runtime. #5411

Closed
@ThomasAtBBTF

Description

@ThomasAtBBTF

CircuitPython version

Adafruit CircuitPython 5.4.0  LoC BeR M4 base board with samd51g19

Code/REPL

import time
time.monotonic()
# in code and the command line, the fraction of seconds was always .0

Behavior

I did observe this behavior last night on a device that was running for many days.
Note: that also after breaking the code with ctrl-c and importing time
and entering time.monotonic() in the command line, the fraction of seconds was always .0
Only after microcontroller.reset() this behavior stopped.

I will try to reproduce this with other controllers and CP 7.0.
But it will take days until I have a result ....

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions