Skip to content

Atm_comparator - catchUp vs skip #87

Description

@bapowell

The Atm_comparator docs indicate that only by using catchUp=true in threshold() will it result in multiple callback calls. In my testing the value of catchUp doesn't matter. It always issues multiple callbacks when crossing multiple threshold values.

Then I noticed an undocumented "skip()" method in Atm_comparator.cpp. That one does the trick. It seems to do the same as what catchUp=false was intended to accomplish.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions