diff Small_CPU/Src/spi.c @ 239:e4207f0aaa4b div-fixes-5

cleanup: factor out dataSendToSlaveStopEval The global dataSendToSlaveStopEval was set all over the place, but never tested, so useless to set it. And remove an unused piece of code. Trivial cleanup. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Mon, 08 Apr 2019 10:35:29 +0200
parents 9fc06e1e0f66
children b3685fbada3b
line wrap: on
line diff
--- a/Small_CPU/Src/spi.c	Mon Apr 08 10:16:17 2019 +0200
+++ b/Small_CPU/Src/spi.c	Mon Apr 08 10:35:29 2019 +0200
@@ -382,10 +382,6 @@
 		global.dataSendToMaster.power_on_reset = 0;
 		global.deviceDataSendToMaster.power_on_reset = 0;
 
-	//TODO:REMOVE
-	//		if ( !global.dataSendToSlaveStopEval ) {
-	//			scheduleSpecial_Evaluate_DataSendToSlave();
-	//		}
 		scheduleSpecial_Evaluate_DataSendToSlave();
 
 		SPI_Start_single_TxRx_with_Master();