diff Small_CPU/Src/baseCPU2.c @ 134:0586ae83a243 FlipDisplay

Removed cyclic (by timer) send on slave side
author Ideenmodellierer
date Tue, 19 Feb 2019 18:16:59 +0100
parents 6347a86caa18
children ee744c7160ce
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c	Tue Feb 19 18:15:35 2019 +0100
+++ b/Small_CPU/Src/baseCPU2.c	Tue Feb 19 18:16:59 2019 +0100
@@ -164,8 +164,8 @@
 // See CPU2-RTE.ld
 const SFirmwareData cpu2_FirmwareData __attribute__(( section(".firmware_data") ))= {
 		.versionFirst = 1,
-		.versionSecond = 5,
-		.versionThird = 1,
+		.versionSecond = 6,
+		.versionThird = 0,
 		.versionBeta = 0,
 
 /* 4 bytes with trailing 0 */
@@ -383,7 +383,7 @@
 			MX_DMA_Init();
 			MX_SPI1_Init();
 			MX_EXTI_wireless_Init();
-//			SPI_Start_single_TxRx_with_Master();
+			SPI_Start_single_TxRx_with_Master(); /* be prepared for the first data exchange */
 			EXTI_Test_Button_Init();
 
 			/*
@@ -1129,7 +1129,6 @@
   }else
   {
 	  ticks100ms=0;
-	  SPI_Start_single_TxRx_with_Master();
   }
 }
 /**