http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50314

--- Comment #3 from NickParker at Eaton dot com 2011-09-07 21:13:22 UTC ---
#define T1_GET_TIMER_NON_ATOMIC()       (TCNT1)

uint16_t BGndTimerReadNowIsr(void)
{
  uint16_t period_u2;
  period_u2 = T1_GET_TIMER_NON_ATOMIC();
  return(period_u2);
}

Reply via email to