cancel
Showing results for 
Search instead for 
Did you mean: 

USART3_8_IRQHandler generated code - spurious repetition of (&huart5);

jerome29
Visitor

Hello,

I have a project on STM32F091 generated with STM32CubeMX.

Connectivity included USART3, USART4 and USART5.

It created this code that has a problem on the line with huart5 ("(&huart5);" is written twice and it give a warning during build).

Do you confirm? What the procedure to correct in next CubeMX version?

void USART3_8_IRQHandler(void)
{
  /* USER CODE BEGIN USART3_8_IRQn 0 */

  /* USER CODE END USART3_8_IRQn 0 */
  HAL_UART_IRQHandler(&huart3);
  HAL_UART_IRQHandler(&huart4);
  HAL_UART_IRQHandler(&huart5);(&huart5);
  /* USER CODE BEGIN USART3_8_IRQn 1 */

  /* USER CODE END USART3_8_IRQn 1 */
}

regards

jerome


Edited to apply source code formatting - please see How to insert source code for future reference.

0 REPLIES 0