changeset 394:717f335cc5c9 ImproveBluetooth

Added start of module configuration after eache modul power on
author ideenmodellierer
date Tue, 26 Nov 2019 21:16:36 +0100
parents 879709909dd6
children eb7696e0510f
files Discovery/Src/tDebug.c Discovery/Src/tMenuEditHardware.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/tDebug.c	Tue Nov 26 21:14:58 2019 +0100
+++ b/Discovery/Src/tDebug.c	Tue Nov 26 21:16:36 2019 +0100
@@ -34,6 +34,7 @@
 #include "gfx_fonts.h"
 #include "ostc.h"
 #include "tInfo.h"
+#include "tComm.h"
 
 #include "stm32f4xx_hal.h"
 
@@ -78,6 +79,7 @@
 void tDebug_start(void)
 {
     MX_Bluetooth_PowerOn();
+    tComm_StartBlueModConfig();
 
     tD_debugModeActive = 1;
     tD_status = 0;
@@ -102,6 +104,7 @@
     case ACTION_MODE_CHANGE:
     case ACTION_BUTTON_BACK:
     exitInfo();
+    	break;
     default:
         break;
     case ACTION_IDLE_TICK:
--- a/Discovery/Src/tMenuEditHardware.c	Tue Nov 26 21:14:58 2019 +0100
+++ b/Discovery/Src/tMenuEditHardware.c	Tue Nov 26 21:16:36 2019 +0100
@@ -37,6 +37,7 @@
 #include "tHome.h"
 #include "tInfo.h"
 #include "tInfoLog.h"
+#include "tComm.h"
 
 extern void tM_build_pages(void);
 
@@ -104,6 +105,7 @@
     {
         pSettings->bluetoothActive = 1;
         MX_Bluetooth_PowerOn();
+        tComm_StartBlueModConfig();
     }
     else
     {