OMG when is it ending
This commit is contained in:
committed by
Raphael Coeffic
parent
0cef967912
commit
c95667394c
@@ -208,6 +208,7 @@ void intmoduleSendNextFrame()
|
||||
|
||||
void intmoduleWaitForTxCompleted()
|
||||
{
|
||||
#if !defined(SIMU)
|
||||
#if defined(INTMODULE_DMA_STREAM)
|
||||
if (DMA_GetCmdStatus(INTMODULE_DMA_STREAM) == ENABLE) {
|
||||
while(DMA_GetFlagStatus(INTMODULE_DMA_STREAM, INTMODULE_DMA_FLAG_TC) == RESET);
|
||||
@@ -216,4 +217,5 @@ void intmoduleWaitForTxCompleted()
|
||||
#else
|
||||
while (intmoduleTxBufferRemaining > 0);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user