interrupt works

This commit is contained in:
Attila BODY 2018-12-17 21:43:19 +01:00
parent d1caa51a89
commit 48883e6e3d
3 changed files with 21 additions and 9 deletions

View file

@ -198,7 +198,7 @@ void SysTick_Handler(void)
void DMA1_Channel3_IRQHandler(void)
{
/* USER CODE BEGIN DMA1_Channel3_IRQn 0 */
g_done = 1;
/* USER CODE END DMA1_Channel3_IRQn 0 */
HAL_DMA_IRQHandler(&hdma_spi1_tx);
/* USER CODE BEGIN DMA1_Channel3_IRQn 1 */