# HG changeset patch # User Jan Mulder # Date 1555342547 -7200 # Node ID 26c874cdde0dd983f2579f80aba4a1f58a3d61ea # Parent 0087d6251f59b63d0eee19c3bff4e41b813ce3a8 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 diff -r 0087d6251f59 -r 26c874cdde0d Discovery/Src/settings.c --- a/Discovery/Src/settings.c Fri Apr 12 22:00:07 2019 +0200 +++ b/Discovery/Src/settings.c Mon Apr 15 17:35:47 2019 +0200 @@ -1155,7 +1155,7 @@ /* uint8_t tX_userselectedLeftLowerCornerPrimary; */ - if(Settings.tX_userselectedLeftLowerCornerPrimary > 7) + if(Settings.tX_userselectedLeftLowerCornerPrimary > 8) { Settings.tX_userselectedLeftLowerCornerPrimary = 1; corrections++; diff -r 0087d6251f59 -r 26c874cdde0d Discovery/Src/tMenuEditSystem.c --- 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;