Mercurial > public > ostc4
diff Discovery/Src/settings.c @ 1050:88b6ab90c55a GasConsumption
Added separate LLC view for surface GF:
A new LLC view has been added. In addition the surface GF is now clipped to a value of 9.99 => 999% in the visualization
| author | Ideenmodellierer |
|---|---|
| date | Wed, 19 Nov 2025 21:34:18 +0100 |
| parents | 6fb16ca39125 |
| children |
line wrap: on
line diff
--- a/Discovery/Src/settings.c Tue Nov 18 18:53:21 2025 +0100 +++ b/Discovery/Src/settings.c Wed Nov 19 21:34:18 2025 +0100 @@ -95,7 +95,7 @@ * There might even be entries with fixed values that have no range */ const SSettings SettingsStandard = { - .header = 0xFFFF002D, + .header = 0xFFFF002E, .warning_blink_dsec = 8 * 2, .lastDiveLogId = 0, .logFlashNextSampleStartAddress = SAMPLESTART, @@ -661,6 +661,12 @@ sprintf((char*)pSettings->profileName[2],"MCCR____"); sprintf((char*)pSettings->profileName[3],"ECCR____"); pSettings->activeProfile = 0; + // no break; + case 0xFFFF002D: + if(pSettings->tX_userselectedLeftLowerCornerPrimary > LLC_GF) /* GF_Surf was added behind => shift ID of views */ + { + pSettings->tX_userselectedLeftLowerCornerPrimary++; + } // no break; default:
