comparison Small_CPU/Src/baseCPU2.c @ 839:061174d88af9 Evo_2_23

Code cleanup: UART protocol definitions In the first external interface implementation the discovery part took care for the uart protocol selection. Since the introduction of the automatic detection the protocol handling has been moved into the RTE. However the definitions were still in the in the exchange header (Discovery <=> RTE). To avoid confusions the definitions have been moved into RTE scope only.
author Ideenmodellierer
date Sun, 07 Jan 2024 21:20:15 +0100
parents 40e951cfa443
children 2cab242c9a4a
comparison
equal deleted inserted replaced
838:aed39d19269c 839:061174d88af9
492 EXTI_Wakeup_Button_Init(); 492 EXTI_Wakeup_Button_Init();
493 NOT_USED_AT_THE_MOMENT_scheduleSleepMode(); 493 NOT_USED_AT_THE_MOMENT_scheduleSleepMode();
494 */ 494 */
495 495
496 EXTI_Test_Button_DeInit(); 496 EXTI_Test_Button_DeInit();
497 externalInterface_SwitchUART(0); 497 externalInterface_SwitchUART(EXT_INTERFACE_UART_OFF);
498 externalInterface_SwitchPower33(false); 498 externalInterface_SwitchPower33(false);
499 if (hasExternalClock()) 499 if (hasExternalClock())
500 SystemClock_Config_HSI(); 500 SystemClock_Config_HSI();
501 sleep_prepare(); 501 sleep_prepare();
502 502