changeset 462:dddfe7917131

Power-down Bluetooth on COMM exit Increase firmware version number to 1.3.4
author heinrichsweikamp
date Wed, 08 Apr 2020 16:34:54 +0200
parents b3f684cea9c0
children e4f6afd9c96b dd0d0952ef35
files Discovery/Src/settings.c Discovery/Src/tComm.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/settings.c	Mon Mar 30 13:16:11 2020 +0000
+++ b/Discovery/Src/settings.c	Wed Apr 08 16:34:54 2020 +0200
@@ -57,15 +57,15 @@
 {
     .versionFirst   = 1,
     .versionSecond 	= 5,
-    .versionThird   = 3,
+    .versionThird   = 4,
     .versionBeta    = 0,
 
     /* 4 bytes with trailing 0 */
     .signature = "mh",
 
     .release_year = 20,
-    .release_month = 2,
-    .release_day = 26,
+    .release_month = 4,
+    .release_day = 8,
     .release_sub = 0,
 
     /* max 48 with trailing 0 */
--- a/Discovery/Src/tComm.c	Mon Mar 30 13:16:11 2020 +0000
+++ b/Discovery/Src/tComm.c	Wed Apr 08 16:34:54 2020 +0200
@@ -335,6 +335,8 @@
     set_globalState_Base();
 #endif
     }
+    settingsGetPointer()->bluetoothActive = 0;
+    MX_Bluetooth_PowerOff();						// Power down Bluetooth on the way out
 }