diff Discovery/Src/tMenuEditSystem.c @ 259:26c874cdde0d bm-3

feature: allow new saturation to be set in lower left corner While we already could select it during a dive, it was not possible to set the left lower corner field to the saturation field as a default setting. With this commit, we can. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Mon, 15 Apr 2019 17:35:47 +0200
parents b2a9e9b02df0
children c9d217b110cc 50ea68c7a153
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditSystem.c	Fri Apr 12 22:00:07 2019 +0200
+++ b/Discovery/Src/tMenuEditSystem.c	Mon Apr 15 17:35:47 2019 +0200
@@ -862,6 +862,9 @@
     case 7:
         text[4] = TXT_CNS;
         break;
+    case 8:
+    	text[4] = TXT_ActualGradient;
+    	break;
     /* none */
     case 0:
         text[4] = '-';
@@ -1008,7 +1011,7 @@
 
     value += 1;
 
-    if(value > 7)
+    if(value > 8)
         value = 0;
 
     settingsGetPointer()->tX_userselectedLeftLowerCornerPrimary = value;