MX_TouchGFX_Init(); call and implementation are not the same type.
I have a build error where the call to MX_TouchGFX_Init(); in main.c (generated by Cube MX) is different than the one in app_touchgfx.h UINT MX_TouchGFX_Init(VOID *memory_ptr);, also generated by CubeMX
I am using TouchGFX 4.19.1 in Stm32CubeIDE 1.9
Did anybody ran into that? Any suggestion?
build console output:
../Core/Src/main.c: In function 'main':
../Core/Src/main.c:135:3: error: too few arguments to function 'MX_TouchGFX_Init'
135 | MX_TouchGFX_Init();
| ^~~~~~~~~~~~~~~~
In file included from ../Core/Src/main.c:29:
../TouchGFX/App/app_touchgfx.h:45:6: note: declared here
45 | UINT MX_TouchGFX_Init(VOID *memory_ptr);
| ^~~~~~~~~~~~~~~~
make[1]: *** [Core/Src/subdir.mk:59: Core/Src/main.o] Error 1
