diff Discovery/Src/tHome.c @ 836:8d6c35655d4d Evo_2_23

Bugfix BF temperatur display and cv switching: The temperatur view was not available in the BF selection dialog and has been added. Because the CV_END and CV_T3_END markers are defined in two independend lists it could happen that some BF views were not displayed. This problem has been solved by considering the source array which is handed over to the switching function.
author ideenmodellierer
date Wed, 27 Dec 2023 19:24:44 +0100
parents c4ee952b9425
children aed39d19269c
line wrap: on
line diff
--- a/Discovery/Src/tHome.c	Sun Dec 17 21:49:02 2023 +0100
+++ b/Discovery/Src/tHome.c	Wed Dec 27 19:24:44 2023 +0100
@@ -65,6 +65,7 @@
 #ifdef ENABLE_T3_PROFILE_VIEW
 									CVIEW_T3_Profile,
 #endif
+									CVIEW_T3_Temperature,
 									CVIEW_T3_END};
 
 /* Private function prototypes -----------------------------------------------*/
@@ -78,10 +79,6 @@
 {
     if(stateUsed->mode == MODE_DIVE)
     {
-    	if(settingsGetPointer()->extraDisplay == EXTRADISPLAY_BFACTIVE)
-    	{
-    		settingsGetPointer()->design = 3;
-    	}
         set_globalState(StD);
     }
     else