Mercurial > public > ostc4
changeset 498:4811f3dfaa52
Added dew parameter to enable selection of customer BigFont screens to be displayed
In previous versions the available views were derived from the settings for the standard view. Direct selection for Bigfont screens was not possible
author | Ideenmodellierer |
---|---|
date | Mon, 24 Aug 2020 19:30:15 +0200 |
parents | 4ce932235578 |
children | 668471c5f410 |
files | Common/Inc/settings.h Discovery/Src/settings.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Common/Inc/settings.h Thu Aug 20 21:25:38 2020 +0200 +++ b/Common/Inc/settings.h Mon Aug 24 19:30:15 2020 +0200 @@ -220,6 +220,9 @@ uint32_t cv_configuration; /* new in 0xFFFF001A */ uint8_t MotionDetection; + /* new in 0xFFFF001B */ + uint32_t cv_config_BigScreen; + uint32_t cv_config_BigScreenV2; } SSettings;
--- a/Discovery/Src/settings.c Thu Aug 20 21:25:38 2020 +0200 +++ b/Discovery/Src/settings.c Mon Aug 24 19:30:15 2020 +0200 @@ -310,6 +310,8 @@ .FlipDisplay = 0, .cv_configuration = 0xFFFFFFFF, .MotionDetection = MOTION_DETECT_OFF, + .cv_config_BigScreen = 0xFFFFFFFF, + .cv_config_BigScreenV2 = 0xFFFFFFFF, }; /* Private function prototypes -----------------------------------------------*/ @@ -457,6 +459,10 @@ case 0xFFFF0019: pSettings->MotionDetection = MOTION_DETECT_OFF; // no break + case 0xFFFF001A: + pSettings->cv_config_BigScreen = 0xFFFFFFFF; + pSettings->cv_config_BigScreenV2 = 0xFFFFFFFF; + // no break default: pSettings->header = pStandard->header; break; // no break before!!