Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information