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

allow HWTIMER_SPEED > 1000000 #1709

Merged
merged 1 commit into from
Dec 4, 2014
Merged

Commits on Oct 6, 2014

  1. prevent rounding 0 if HWTIMER_SPEED > 1000000L

    The current macros in hwtimer.h expect HWTIMER_SPEED to be < 1000000L, otherwise integer arithmetic will round the result down to 0.
    Add a case to prevent that.
    benpicco committed Oct 6, 2014
    Configuration menu
    Copy the full SHA
    d6ca7c4 View commit details
    Browse the repository at this point in the history