Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c Fri Jan 05 16:01:22 2024 +0100 +++ b/Small_CPU/Src/baseCPU2.c Sun Jan 07 21:20:15 2024 +0100 @@ -494,7 +494,7 @@ */ EXTI_Test_Button_DeInit(); - externalInterface_SwitchUART(0); + externalInterface_SwitchUART(EXT_INTERFACE_UART_OFF); externalInterface_SwitchPower33(false); if (hasExternalClock()) SystemClock_Config_HSI();