Mercurial > public > ostc4
comparison Discovery/Src/settings.c @ 505:06b21f1e47a5
Removed second big font profile
The nex big font views have been introduced using an additional profile because an individual selection was not possible. By introducing the selection dialog for big font data views this additional profile is no longer needed.
author | Ideenmodellierer |
---|---|
date | Sun, 30 Aug 2020 17:14:31 +0200 |
parents | 4811f3dfaa52 |
children | 7512804bc6cf |
comparison
equal
deleted
inserted
replaced
504:8428195a4967 | 505:06b21f1e47a5 |
---|---|
82 | 82 |
83 /* always adjust check_and_correct_settings() accordingly | 83 /* always adjust check_and_correct_settings() accordingly |
84 * There might even be entries with fixed values that have no range | 84 * There might even be entries with fixed values that have no range |
85 */ | 85 */ |
86 const SSettings SettingsStandard = { | 86 const SSettings SettingsStandard = { |
87 .header = 0xFFFF001A, | 87 .header = 0xFFFF001B, |
88 .warning_blink_dsec = 8 * 2, | 88 .warning_blink_dsec = 8 * 2, |
89 .lastDiveLogId = 0, | 89 .lastDiveLogId = 0, |
90 .logFlashNextSampleStartAddress = 0, | 90 .logFlashNextSampleStartAddress = 0, |
91 | 91 |
92 .gas[0].oxygen_percentage = 21, | 92 .gas[0].oxygen_percentage = 21, |
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, | 313 .cv_config_BigScreen = 0xFFFFFFFF, |
314 .cv_config_BigScreenV2 = 0xFFFFFFFF, | |
315 }; | 314 }; |
316 | 315 |
317 /* Private function prototypes -----------------------------------------------*/ | 316 /* Private function prototypes -----------------------------------------------*/ |
318 uint8_t checkValue(uint8_t value,uint8_t from, uint8_t to); | 317 uint8_t checkValue(uint8_t value,uint8_t from, uint8_t to); |
319 | 318 |
458 // no break | 457 // no break |
459 case 0xFFFF0019: | 458 case 0xFFFF0019: |
460 pSettings->MotionDetection = MOTION_DETECT_OFF; | 459 pSettings->MotionDetection = MOTION_DETECT_OFF; |
461 // no break | 460 // no break |
462 case 0xFFFF001A: | 461 case 0xFFFF001A: |
462 /* deactivate new views => to be activated by customer */ | |
463 pSettings->cv_config_BigScreen = 0xFFFFFFFF; | 463 pSettings->cv_config_BigScreen = 0xFFFFFFFF; |
464 pSettings->cv_config_BigScreenV2 = 0xFFFFFFFF; | 464 pSettings->cv_config_BigScreen &= pSettings->cv_configuration ^= 1 << CVIEW_T3_Navigation; |
465 pSettings->cv_config_BigScreen &= pSettings->cv_configuration ^= 1 << CVIEW_T3_DepthData; | |
465 // no break | 466 // no break |
466 default: | 467 default: |
467 pSettings->header = pStandard->header; | 468 pSettings->header = pStandard->header; |
468 break; // no break before!! | 469 break; // no break before!! |
469 } | 470 } |