TouchGFX_Task is missing when using Keil
In TouchGFX 4.19.1, I have the following problem:
When I set up a project via designer and then switch the IDE to Keil via CubeMX, the function
void TouchGFX_Task(void *argument)
{
touchgfx_taskEntry();
}vanishes from the file app_touchgfx.c.
When I open the file before changing the IDE, the function is there. When I open the file after changing the IDE, it's not there, and it doesn't come back when the TouchGFX Designer is rerun.
Of course I can add the function myself but it would be more convenient if it would not be deleted by CubeMX.
This problem did not occur in TouchGFX 4.18.
Is it a general bug or is there something wrong with my version of the toolchain?