spark/core-common-lib — pull request #4 by mattande (2014-01-18 15:40:57+00:00)
Title: Fix TIM1 timer prescaler is computed incorrectly

Previous implementation had an error in computing the TIM1 prescaler,
though it was not noticeable because the prescaler was large. With a
smaller prescaler (7200 -> 72), the off by one causes the TIM1
period to be a few % less than 1 second. This can be seen in the fade
rate of the LED.