alternative to TICK_INTERVAL_MS constant in touchFGX
Hello,
I'm wondering if there is a an alternative to TICK_INTERVAL_MS constant which is deprecated. It is said that handleTickEvent() function is called by the Application on the current screen with a frequency of Application::TICK_INTERVAL_MS.
For the moment I've changed the frequency at which handleTickEvent() is called with this code :
/**
* Has to be called from within the LCD IRQ rutine when the Back Porch Exit is reached.
*
* Has to be called from within the LCD IRQ rutine when the Back Porch Exit is reached.
*/
virtual void backPorchExited()
{
static int cnt = 0;
static int modulo = 2;
if(cnt%modulo ==0)
{
swapFrameBuffers();
tick();
}
cnt++;
}(Here i got the same LTDC frequency but the frequency display is divided by 2)
regards,
AJT
