We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d3807 commit e0b8530Copy full SHA for e0b8530
cores/arduino/stm32/uart.c
@@ -808,7 +808,7 @@ void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart)
808
#endif
809
/* Restart receive interrupt after any error */
810
uint8_t index = uart_index(huart);
811
- if(index < UART_NUM) {
+ if (index < UART_NUM) {
812
serial_t *obj = rx_callback_obj[index];
813
if (!serial_rx_active(obj)) {
814
HAL_UART_Receive_IT(uart_handlers[obj->index], &(obj->recv), 1);
0 commit comments