comparison 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
comparison
equal deleted inserted replaced
200:7116c0ffb862 209:2de856965c55
377 } 377 }
378 SPI_synchronize_with_Master(); 378 SPI_synchronize_with_Master();
379 MX_DMA_Init(); 379 MX_DMA_Init();
380 MX_SPI1_Init(); 380 MX_SPI1_Init();
381 SPI_Start_single_TxRx_with_Master(); /* be prepared for the first data exchange */ 381 SPI_Start_single_TxRx_with_Master(); /* be prepared for the first data exchange */
382 dohardspisync = 1; 382 Scheduler_Request_sync_with_SPI(SPI_SYNC_METHOD_HARD);
383 EXTI_Test_Button_Init(); 383 EXTI_Test_Button_Init();
384 global.mode = MODE_SURFACE; 384 global.mode = MODE_SURFACE;
385 break; 385 break;
386 386
387 case MODE_CALIB: 387 case MODE_CALIB: