BenjaminSoelberg / openchronos-ng-elf

Fully modular opensource firmware for the eZ430 chronos using TI's new msp430-elf-gcc
GNU General Public License v3.0
59 stars 22 forks source link

Fix for delayed response to buttons after first watch boot #55

Closed quoraquestions closed 7 years ago

quoraquestions commented 7 years ago

At initialization CCR0 is reset to '0' and causes an interrupt only when TAR wraps around, initialize CCR0 with TAR + timer_clock_cycles_in(50ms) to cause the first interrupt after now+50ms.

quoraquestions commented 7 years ago

Watch is unresponsive to button presses for 5 runloops upon startup (~3 sec) #54