Skip to content

timing measurement rollout #116

@fabriceo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions