diff Small_CPU/Src/baseCPU2.c @ 209:2de856965c55

Merged in Ideenmodellierer/ostc4/ImprovmentSPI (pull request #9) ImprovmentSPI
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Sun, 24 Mar 2019 22:09:37 +0000
parents b95741467355
children e4207f0aaa4b
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c	Fri Mar 22 08:15:30 2019 +0000
+++ b/Small_CPU/Src/baseCPU2.c	Sun Mar 24 22:09:37 2019 +0000
@@ -379,7 +379,7 @@
 			MX_DMA_Init();
 			MX_SPI1_Init();
 			SPI_Start_single_TxRx_with_Master(); /* be prepared for the first data exchange */
-			dohardspisync = 1;
+			Scheduler_Request_sync_with_SPI(SPI_SYNC_METHOD_HARD);
 			EXTI_Test_Button_Init();
 			global.mode = MODE_SURFACE;
 			break;