comparison Small_CPU/Src/baseCPU2.c @ 88:3db7389d49cc kittz

revert
author Dmitry Romanov <kitt@bk.ru>
date Thu, 22 Nov 2018 12:02:55 +0300
parents e6abbef57475
children ff7775cc34c4
comparison
equal deleted inserted replaced
87:e746bf846638 88:3db7389d49cc
385 } 385 }
386 SPI_synchronize_with_Master(); 386 SPI_synchronize_with_Master();
387 MX_DMA_Init(); 387 MX_DMA_Init();
388 MX_SPI1_Init(); 388 MX_SPI1_Init();
389 MX_EXTI_wireless_Init(); 389 MX_EXTI_wireless_Init();
390 // SPI_Start_single_TxRx_with_Master(); 390 SPI_Start_single_TxRx_with_Master();
391 EXTI_Test_Button_Init(); 391 EXTI_Test_Button_Init();
392 392
393 /* 393 /*
394 uint8_t dataWireless[64]; 394 uint8_t dataWireless[64];
395 while(1) 395 while(1)
412 GPIO_Power_MainCPU_ON(); 412 GPIO_Power_MainCPU_ON();
413 SPI_synchronize_with_Master(); 413 SPI_synchronize_with_Master();
414 MX_DMA_Init(); 414 MX_DMA_Init();
415 MX_SPI1_Init(); 415 MX_SPI1_Init();
416 // MX_EXTI_wireless_Init(); 416 // MX_EXTI_wireless_Init();
417 // SPI_Start_single_TxRx_with_Master(); 417 SPI_Start_single_TxRx_with_Master();
418 // EXTI_Test_Button_Init(); 418 // EXTI_Test_Button_Init();
419 419
420 scheduleTestMode(); 420 scheduleTestMode();
421 break; 421 break;
422 422
494 wireless_init(); 494 wireless_init();
495 SPI_synchronize_with_Master(); 495 SPI_synchronize_with_Master();
496 MX_DMA_Init(); 496 MX_DMA_Init();
497 MX_SPI1_Init(); 497 MX_SPI1_Init();
498 MX_EXTI_wireless_Init(); 498 MX_EXTI_wireless_Init();
499 // SPI_Start_single_TxRx_with_Master(); 499 SPI_Start_single_TxRx_with_Master();
500 500
501 // EXTILine0_Button_DeInit(); not now, later after testing 501 // EXTILine0_Button_DeInit(); not now, later after testing
502 break; 502 break;
503 } 503 }
504 } 504 }