diff Discovery/Src/t7.c @ 661:87bee7cc77b3

Undo Rev. 660
author heinrichs weikamp
date Mon, 01 Nov 2021 12:39:34 +0100
parents f4b553da620a
children 1b995079c045
line wrap: on
line diff
--- a/Discovery/Src/t7.c	Sun Aug 08 09:36:23 2021 +0200
+++ b/Discovery/Src/t7.c	Mon Nov 01 12:39:34 2021 +0100
@@ -35,7 +35,6 @@
 #include "gfx_fonts.h"
 #include "logbook_miniLive.h"
 #include "math.h"
-#include "tComm.h"
 #include "tHome.h"
 #include "simulation.h"
 #include "timer.h"
@@ -744,11 +743,8 @@
     }
     else
 */
-    if(DataEX_was_power_on()) {
+    if(DataEX_was_power_on())
         GFX_write_string_color(&FontT42,&t7surfaceR,"cold start",4,CLUT_WarningRed);
-	// Reset the bluetooth interface after a cold start
-	tComm_Set_Bluetooth_Name(1);
-    }
 
     /* time and date */
     translateDate(stateUsed->lifeData.dateBinaryFormat, &Sdate);
@@ -1614,8 +1610,7 @@
 uint8_t t7_change_customview(uint8_t action)
 {
     uint8_t *pViews;
-    uint8_t *pStartView,*pLastView;
-    uint8_t *pCurView = NULL;
+    uint8_t *pStartView,*pCurView, *pLastView;
     _Bool cv_disabled = 0;
 
     if(stateUsed->mode == MODE_DIVE)