changeset 134:0586ae83a243 FlipDisplay

Removed cyclic (by timer) send on slave side
author Ideenmodellierer
date Tue, 19 Feb 2019 18:16:59 +0100
parents acc98f5bd8c4
children 5df4f1a315cb
files Small_CPU/Src/baseCPU2.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
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();
   }
 }
 /**