diff Small_CPU/Src/baseCPU2.c @ 801:ff66b41d6fe4

Update RTE version number
author Ideenmodellierer
date Thu, 10 Aug 2023 21:24:04 +0200
parents dfdfea8897f3
children 40e951cfa443
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c	Tue Aug 08 17:29:03 2023 +0200
+++ b/Small_CPU/Src/baseCPU2.c	Thu Aug 10 21:24:04 2023 +0200
@@ -166,7 +166,7 @@
 // See CPU2-RTE.ld
 const SFirmwareData cpu2_FirmwareData __attribute__(( section(".firmware_data") ))= {
 		.versionFirst = 3,
-		.versionSecond = 1,
+		.versionSecond = 2,
 		.versionThird = 0,
 		.versionBeta = 0,
 
@@ -422,7 +422,6 @@
 			SPI_synchronize_with_Master();
 			MX_DMA_Init();
 			MX_SPI1_Init();
-			externalInterface_SwitchUART(externalInterface_GetUARTProtocol());
 			SPI_Start_single_TxRx_with_Master(); /* be prepared for the first data exchange */
 			Scheduler_Request_sync_with_SPI(SPI_SYNC_METHOD_HARD);
 			EXTI_Test_Button_Init();
@@ -495,6 +494,7 @@
 			 */
 
 			EXTI_Test_Button_DeInit();
+			externalInterface_SwitchUART(0);
 			externalInterface_SwitchPower33(false);
 			if (hasExternalClock())
 				SystemClock_Config_HSI();