Skip to main content
apll
Associate II
March 22, 2019
Question

Problem with transitionCallback

  • March 22, 2019
  • 0 replies
  • 424 views

Hi everyone,

i enable touchgfx in my project starting with cubeMX.

But it doen't run touchgfx.

I use MDK-ARM5 with uKeil.

In debug i see that after this instruction (inside gui_generated/common/FrontendApplicationBase.cpp)

transitionCallback = touchgfx::Callback<FrontendApplicationBase>(this, &FrontendApplication::gotoScreen1ScreenNoTransitionImpl);

it doesn't go in gotoScreen1ScreenNoTransitionImpl

void FrontendApplicationBase::gotoScreen1ScreenNoTransition()
{
 transitionCallback = touchgfx::Callback<FrontendApplicationBase>(this, &FrontendApplication::gotoScreen1ScreenNoTransitionImpl);
 pendingScreenTransitionCallback = &transitionCallback;
}
 
void FrontendApplicationBase::gotoScreen1ScreenNoTransitionImpl()
{
 makeTransition<Screen1View, Screen1Presenter, touchgfx::NoTransition, Model >(&currentScreen, &currentPresenter, frontendHeap, &currentTransition, &model);
}

What is it the problem?

This topic has been closed for replies.