Revert "Further protection"

This reverts commit 751bb6127d.
This commit is contained in:
Raphael Coeffic
2021-06-23 12:45:13 +02:00
parent cdd6d18d29
commit 6126241f0b
@@ -140,9 +140,6 @@ void intmoduleSendBuffer(const uint8_t * data, uint8_t size)
return;
#if defined(INTMODULE_DMA_STREAM)
if (!DMA_GetITStatus(INTMODULE_DMA_STREAM, INTMODULE_DMA_FLAG_TC))
return;;
DMA_InitTypeDef DMA_InitStructure;
DMA_DeInit(INTMODULE_DMA_STREAM);
DMA_InitStructure.DMA_Channel = INTMODULE_DMA_CHANNEL;