Mercurial > public > ostc4
comparison Discovery/Src/settings.c @ 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 | 06b21f1e47a5 |
comparison
equal
deleted
inserted
replaced
492:4ce932235578 | 498:4811f3dfaa52 |
---|---|
308 .FactoryButtonBalance[1] = 3, | 308 .FactoryButtonBalance[1] = 3, |
309 .FactoryButtonBalance[2] = 3, | 309 .FactoryButtonBalance[2] = 3, |
310 .FlipDisplay = 0, | 310 .FlipDisplay = 0, |
311 .cv_configuration = 0xFFFFFFFF, | 311 .cv_configuration = 0xFFFFFFFF, |
312 .MotionDetection = MOTION_DETECT_OFF, | 312 .MotionDetection = MOTION_DETECT_OFF, |
313 .cv_config_BigScreen = 0xFFFFFFFF, | |
314 .cv_config_BigScreenV2 = 0xFFFFFFFF, | |
313 }; | 315 }; |
314 | 316 |
315 /* Private function prototypes -----------------------------------------------*/ | 317 /* Private function prototypes -----------------------------------------------*/ |
316 uint8_t checkValue(uint8_t value,uint8_t from, uint8_t to); | 318 uint8_t checkValue(uint8_t value,uint8_t from, uint8_t to); |
317 | 319 |
455 pSettings->cv_configuration = 0xFFFFFFFF; | 457 pSettings->cv_configuration = 0xFFFFFFFF; |
456 // no break | 458 // no break |
457 case 0xFFFF0019: | 459 case 0xFFFF0019: |
458 pSettings->MotionDetection = MOTION_DETECT_OFF; | 460 pSettings->MotionDetection = MOTION_DETECT_OFF; |
459 // no break | 461 // no break |
462 case 0xFFFF001A: | |
463 pSettings->cv_config_BigScreen = 0xFFFFFFFF; | |
464 pSettings->cv_config_BigScreenV2 = 0xFFFFFFFF; | |
465 // no break | |
460 default: | 466 default: |
461 pSettings->header = pStandard->header; | 467 pSettings->header = pStandard->header; |
462 break; // no break before!! | 468 break; // no break before!! |
463 } | 469 } |
464 } | 470 } |