Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dshot: fixed timer wrap bug in DShot decode #76

Merged
merged 1 commit into from
Sep 13, 2024

Commits on Sep 12, 2024

  1. dshot: fixed timer wrap bug in DShot decode

    when a 16 bit timer is being used for DShot capture wraps we get
    dma_buffer[] values that wrap back from 655xx to low values. The
    subtraction needs to be done as uint16_t to cope correctly with the
    wrap
    
    this fixes a bug that caused dshot_badcount to tick over on each timer
    wrap where a DShot pulse was present
    tridge committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    747b63d View commit details
    Browse the repository at this point in the history