Skip to content

timing measurement rollout #116

Description

@fabriceo

Hello,
I think there is a bug in this code

if (time > fall_time + delay + wake_up_ticks) {

when time > 2^31 , after about 10 seconds, the comparaison is not working as expected.

a safe approach would be to declare any time variables as signed integers, then subtracting them (new-old) and verifying if result is below or above something.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions