diff --git a/Core/Src/stm32f4xx_it.c b/Core/Src/stm32f4xx_it.c index 89b6a61..dd7f421 100644 --- a/Core/Src/stm32f4xx_it.c +++ b/Core/Src/stm32f4xx_it.c @@ -208,12 +208,10 @@ void USART1_IRQHandler(void) if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) { mbStack.peMBFrameCBByteReceivedCur((void *)&mbStack); - return; } if (((isrflags & USART_SR_TXE) != RESET) && ((cr1its & USART_CR1_TXEIE) != RESET)) { mbStack.peMBFrameCBTransmitterEmptyCur((void *)&mbStack); - return; } /* USER CODE END USART1_IRQn 0 */ HAL_UART_IRQHandler(&huart1); @@ -236,12 +234,10 @@ void USART2_IRQHandler(void) if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) { mbMasterStack.peMBMasterFrameCBByteReceivedCur((void *)&mbMasterStack); - return; } if (((isrflags & USART_SR_TXE) != RESET) && ((cr1its & USART_CR1_TXEIE) != RESET)) { mbMasterStack.peMBMasterFrameCBTransmitterEmptyCur((void *)&mbMasterStack); - return; } /* USER CODE END USART2_IRQn 0 */ diff --git a/README.md b/README.md index 00ad04a..deed64f 100644 --- a/README.md +++ b/README.md @@ -94,12 +94,10 @@ void USART1_IRQHandler(void) if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) { mbMasterStack.peMBMasterFrameCBByteReceivedCur((void *)&mbMasterStack); - return; } if (((isrflags & USART_SR_TXE) != RESET) && ((cr1its & USART_CR1_TXEIE) != RESET)) { mbMasterStack.peMBMasterFrameCBTransmitterEmptyCur((void *)&mbMasterStack); - return; } /* USER CODE END USART1_IRQn 0 */ @@ -127,12 +125,10 @@ void USART2_IRQHandler(void) if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) { mbStack.peMBFrameCBByteReceivedCur((void *)&mbStack); - return; } if (((isrflags & USART_SR_TXE) != RESET) && ((cr1its & USART_CR1_TXEIE) != RESET)) { mbStack.peMBFrameCBTransmitterEmptyCur((void *)&mbStack); - return; } /* USER CODE END USART2_IRQn 0 */