Skip to content

Commit d5e7a9b

Browse files
committed
update comments + spellcheck.
1 parent 9355fda commit d5e7a9b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/boards/NAMote72/uart-board.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ void HAL_UART_ErrorCallback( UART_HandleTypeDef *handle )
428428

429429
void USART1_IRQHandler( void )
430430
{
431-
// [BEGIN] Workaround to solve an issue with the HAL drivers not managin the uart state correctly.
431+
// [BEGIN] Workaround to solve an issue with the HAL drivers not managing the uart state correctly.
432432
uint32_t tmpFlag = 0, tmpItSource = 0;
433433

434434
tmpFlag = __HAL_UART_GET_FLAG( &UartContext[UART_1].UartHandle, UART_FLAG_TC );
@@ -441,14 +441,14 @@ void USART1_IRQHandler( void )
441441
UartContext[UART_1].UartHandle.State = HAL_UART_STATE_BUSY_TX_RX;
442442
}
443443
}
444-
// [BEGIN] Workaround to solve an issue with the HAL drivers not managin the uart state correctly.
444+
// [END] Workaround to solve an issue with the HAL drivers not managing the uart state correctly.
445445

446446
HAL_UART_IRQHandler( &UartContext[UART_1].UartHandle );
447447
}
448448

449449
void USART2_IRQHandler( void )
450450
{
451-
// [BEGIN] Workaround to solve an issue with the HAL drivers not managin the uart state correctly.
451+
// [BEGIN] Workaround to solve an issue with the HAL drivers not managing the uart state correctly.
452452
uint32_t tmpFlag = 0, tmpItSource = 0;
453453

454454
tmpFlag = __HAL_UART_GET_FLAG( &UartContext[UART_2].UartHandle, UART_FLAG_TC );
@@ -461,7 +461,7 @@ void USART2_IRQHandler( void )
461461
UartContext[UART_2].UartHandle.State = HAL_UART_STATE_BUSY_TX_RX;
462462
}
463463
}
464-
// [END] Workaround to solve an issue with the HAL drivers not managin the uart state correctly.
464+
// [END] Workaround to solve an issue with the HAL drivers not managing the uart state correctly.
465465

466466
HAL_UART_IRQHandler( &UartContext[UART_2].UartHandle );
467467
}

src/boards/NucleoL152/uart-board.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ void HAL_UART_ErrorCallback( UART_HandleTypeDef *handle )
335335

336336
void USART2_IRQHandler( void )
337337
{
338-
// [BEGIN] Workaround to solve an issue with the HAL drivers not managin the uart state correctly.
338+
// [BEGIN] Workaround to solve an issue with the HAL drivers not managing the uart state correctly.
339339
uint32_t tmpFlag = 0, tmpItSource = 0;
340340

341341
tmpFlag = __HAL_UART_GET_FLAG( &UartHandle, UART_FLAG_TC );
@@ -348,7 +348,7 @@ void USART2_IRQHandler( void )
348348
UartHandle.State = HAL_UART_STATE_BUSY_TX_RX;
349349
}
350350
}
351-
// [END] Workaround to solve an issue with the HAL drivers not managin the uart state correctly.
351+
// [END] Workaround to solve an issue with the HAL drivers not managing the uart state correctly.
352352

353353
HAL_UART_IRQHandler( &UartHandle );
354354
}

0 commit comments

Comments
 (0)