Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditHardware.c @ 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 | e141b571a03d |
children | 1f557e5f4b5a |
comparison
equal
deleted
inserted
replaced
393:879709909dd6 | 394:717f335cc5c9 |
---|---|
35 #include "tCCR.h" | 35 #include "tCCR.h" |
36 #include "tMenuEdit.h" | 36 #include "tMenuEdit.h" |
37 #include "tHome.h" | 37 #include "tHome.h" |
38 #include "tInfo.h" | 38 #include "tInfo.h" |
39 #include "tInfoLog.h" | 39 #include "tInfoLog.h" |
40 #include "tComm.h" | |
40 | 41 |
41 extern void tM_build_pages(void); | 42 extern void tM_build_pages(void); |
42 | 43 |
43 /* Private function prototypes -----------------------------------------------*/ | 44 /* Private function prototypes -----------------------------------------------*/ |
44 void openEdit_Bluetooth(void); | 45 void openEdit_Bluetooth(void); |
102 | 103 |
103 if(pSettings->bluetoothActive == 0) | 104 if(pSettings->bluetoothActive == 0) |
104 { | 105 { |
105 pSettings->bluetoothActive = 1; | 106 pSettings->bluetoothActive = 1; |
106 MX_Bluetooth_PowerOn(); | 107 MX_Bluetooth_PowerOn(); |
108 tComm_StartBlueModConfig(); | |
107 } | 109 } |
108 else | 110 else |
109 { | 111 { |
110 pSettings->bluetoothActive = 0; | 112 pSettings->bluetoothActive = 0; |
111 MX_Bluetooth_PowerOff(); | 113 MX_Bluetooth_PowerOff(); |