cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX inconsistent indentation for MX_TouchGFX_Process()

unsigned_char_array
Senior III

 

If I enable USB host and TouchGFX without OS I get the following generated code:

  /* USER CODE BEGIN WHILE */
  while (1)
  {
    /* USER CODE END WHILE */
    MX_USB_HOST_Process();

  MX_TouchGFX_Process();
    /* USER CODE BEGIN 3 */
  }
  /* USER CODE END 3 */

As you can see MX_TouchGFX_Process() isn't indented properly.

I want this:

  /* USER CODE BEGIN WHILE */
  while (1)
  {
    /* USER CODE END WHILE */
    MX_USB_HOST_Process();
    MX_TouchGFX_Process();
    /* USER CODE BEGIN 3 */
  }
  /* USER CODE END 3 */

 

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @unsigned_char_array 

Could you share the project or the name of the MCU that occur this issue ?

Thanks

Souhaib

STM32H735

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.