diff Discovery/Src/settings.c @ 982:22d5b477c903 GasConsumption

Code cleanup: Remove disabled option to switch deco calc on/off
author Ideenmodellierer
date Sun, 02 Mar 2025 21:42:45 +0100
parents 79b522fbabe6
children d63584d6428d
line wrap: on
line diff
--- a/Discovery/Src/settings.c	Tue Feb 11 18:12:00 2025 +0100
+++ b/Discovery/Src/settings.c	Sun Mar 02 21:42:45 2025 +0100
@@ -588,20 +588,6 @@
     	pSettings->cv_config_BigScreen |= tmp;
     	// no break;
     case 0xFFFF0028:
-#ifdef ENABLE_DECOCALC_OPTION
-    	/* In previous version deco gases were automatically used for deco calculation */
-        for(tmp=1; tmp<=2*NUM_GASES; tmp++) /* This is now handled by an additional parameter. Set it to true to maintain same behavior as before */
-        {
-            if(Settings.gas[tmp].note.ub.deco)
-            {
-            	Settings.gas[tmp].note.ub.decocalc = 1;
-            }
-            else
-            {
-            	Settings.gas[tmp].note.ub.decocalc = 0;
-            }
-        }
-#endif
     	// no break;
     case 0xFFFF0029:
     	Settings.cvAutofocus = 0;