diff BootLoader/Src/ostc_mini.c @ 1044:9d9d506a82d3 BootloaderOstc5

Bugfix BT init sequence: Some older steps which were related to OSTC were deactivated (to be removed) and a command for the second echo step was missing. in addition two stps for switching the power of the modul before the sequence starts have been added to have a defined starting point.
author Ideenmodellierer
date Sun, 02 Nov 2025 19:30:58 +0100
parents aeafa631147d
children 493a5903ec20
line wrap: on
line diff
--- a/BootLoader/Src/ostc_mini.c	Wed May 28 17:20:44 2025 +0200
+++ b/BootLoader/Src/ostc_mini.c	Sun Nov 02 19:30:58 2025 +0100
@@ -238,7 +238,9 @@
 
 void MX_Bluetooth_PowerOff(void)
 {
-    GPIO_InitTypeDef GPIO_InitStruct;
+	HAL_GPIO_WritePin(BLE_NENABLE_GPIO_PORT,BLE_NENABLE_PIN,GPIO_PIN_SET);
+	HAL_Delay(10);
+	GPIO_InitTypeDef GPIO_InitStruct;
     GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
     GPIO_InitStruct.Pin = BLE_NENABLE_PIN;
     GPIO_InitStruct.Pull = GPIO_NOPULL;