Switch ISR semaphore release to normal semaphore release

This commit is contained in:
2026-06-16 23:07:50 +02:00
parent 8ec62d9fcd
commit 6bcc977c65
+1 -3
View File
@@ -85,9 +85,7 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
{
if (huart->Instance == USART1)
{
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
osSemaphoreReleaseFromISR(xUARTDMASemaphore, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
osSemaphoreRelease(xUARTDMASemaphore);
}
}
/* END HAL_UART_TxCpltCallback */