Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT-FS → Thread

   

Timer discrepency?

Rank

Total Posts: 9

Joined 2008-10-25

PM

In the ANT-FS client code, TimerA is initialized, and IRQ setup for TimerA, and TimerB does not appear to be initialized.

BUT TimerB is used in the RegisterAlarm and UnregisterAlarm

Did I overlook something?      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

Thanks for bringing this to our attention. There is indeed a discrepancy in the code - RegisterAlarm and UnregisterAlarm should be disabling/enabling interrupts for Timer A, not Timer B, which is not used at all in the reference design. This should be fixed in the next release.