Skip to content

Fixed setFrequency

Compare
Choose a tag to compare
@ivanseidel ivanseidel released this 09 Dec 19:24
· 26 commits to master since this release
  1. In setFrequency(), _frequency[timer] is stored as the actual frequency rather than the desired frequency. This change is propagated to setPeriod(), which calls setFrequency(). This affects the values returned by getFrequency() and getPeriod().
  2. In bestClock(), the formula to compute the error was scaled to the divisor ratio for a more meaningful comparison.
  3. Encoding mistake generated by bad characters... (Version 1.4.3 was broken)

(Thanks to @chrishakim )