# HG changeset patch
# User Ideenmodellierer
# Date 1551637131 -3600
# Node ID 1fbdb45db701d7b00e7ab4ea079d58172507b075
# Parent  4fd8bbc7d84149571c1545b537d2d2f21b813b61
Removed special indicator for DMA transfer error

diff -r 4fd8bbc7d841 -r 1fbdb45db701 Discovery/Src/data_exchange_main.c
--- a/Discovery/Src/data_exchange_main.c	Sun Mar 03 17:46:50 2019 +0100
+++ b/Discovery/Src/data_exchange_main.c	Sun Mar 03 19:18:51 2019 +0100
@@ -135,12 +135,11 @@
 	count_DataEX_Error_Handler++;
 	last_error_DataEX_Error_Handler = answer;
 
-	/* A wrong footer indicates a communication interrupt. Statemachine is waiting for new data which is not received because no new transmission is triggered */
+	/* A wrong footer indicates a communication interrupt. State machine is waiting for new data which is not received because no new transmission is triggered */
 	/* ==> Abort data exchange to enable a new RX / TX cycle */
 	if(answer == HAL_BUSY)
 	{
 		HAL_SPI_Abort_IT(&cpu2DmaSpi);
-		data_old__lost_connection_to_slave_counter_total += 1000; /* add significant error offset to indicate error causing an abort event */
 	}
 
   return;