Hi,
The interrupt seems to be triggered immediately after start() is called.
My work around is to have add a global
volatile bool isResetting=false;
Then in start() set
isResetting=true;
and in the ISR change the code so that overflow is only called if not restting
if (isResetting)
{
isResetting=false;
return;
}
else
{
FlexiTimer2::_overflow();
}
Hi,
The interrupt seems to be triggered immediately after start() is called.
My work around is to have add a global
volatile bool isResetting=false;
Then in start() set
isResetting=true;
and in the ISR change the code so that overflow is only called if not restting