diff Discovery/Src/data_exchange_main.c @ 156:1fbdb45db701 FlipDisplay

Removed special indicator for DMA transfer error
author Ideenmodellierer
date Sun, 03 Mar 2019 19:18:51 +0100
parents 1ac5033f7c7a
children 05c770dc2911
line wrap: on
line diff
--- 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;