User Activity

Hi!I am performing a calculation in an interrupt as this:L1L2_filteredTimeNegFlank = ((TIM_GetCounter(TIM16)*50) + 206*L1L2_filteredTimeNegFlank)>>8;But it seems like that it sporadically computes the wrong value and it disappears when I reformulate ...
I am using the old StdLibs to do this since I am (I thought I was) comfortable with these. Anyone that can point out some code showing how to do this in detail? Have been struggling with this for three days and begin to loose my faith in this.Thanks,...
Kudos from
Kudos given to