Mercurial > public > ostc4
comparison Discovery/Src/settings.c @ 969:81049905d829 Evo_2_23
Zusammenf?hren
author | heinrichsweikamp |
---|---|
date | Sun, 19 Jan 2025 12:02:59 +0100 (8 months ago) |
parents | b9a1710522b1 e9c37071933b |
children | 79b522fbabe6 |
comparison
equal
deleted
inserted
replaced
968:b9a1710522b1 | 969:81049905d829 |
---|---|
340 .delaySetpointLow = false, | 340 .delaySetpointLow = false, |
341 .timerDurationS = 180, | 341 .timerDurationS = 180, |
342 .cvAutofocus = 0, | 342 .cvAutofocus = 0, |
343 .slowExitTime = 0, | 343 .slowExitTime = 0, |
344 .timeZone.hours = 0, | 344 .timeZone.hours = 0, |
345 .timeZone.minutes = 0 | 345 .timeZone.minutes = 0, |
346 .warningBuzzer = 0 | |
346 }; | 347 }; |
347 | 348 |
348 /* Private function prototypes -----------------------------------------------*/ | 349 /* Private function prototypes -----------------------------------------------*/ |
349 uint8_t checkValue(uint8_t value,uint8_t from, uint8_t to); | 350 uint8_t checkValue(uint8_t value,uint8_t from, uint8_t to); |
350 | 351 |
606 Settings.slowExitTime = 0; | 607 Settings.slowExitTime = 0; |
607 // no break; | 608 // no break; |
608 case 0xFFFF002B: | 609 case 0xFFFF002B: |
609 Settings.timeZone.hours = 0; | 610 Settings.timeZone.hours = 0; |
610 Settings.timeZone.minutes = 0; | 611 Settings.timeZone.minutes = 0; |
612 Settings.warningBuzzer = 0; | |
611 // no break; | 613 // no break; |
612 default: | 614 default: |
613 pSettings->header = pStandard->header; | 615 pSettings->header = pStandard->header; |
614 break; // no break before!! | 616 break; // no break before!! |
615 } | 617 } |
1315 Settings.divetimeToCreateLogbook = 0; | 1317 Settings.divetimeToCreateLogbook = 0; |
1316 corrections++; | 1318 corrections++; |
1317 setFirstCorrection(parameterId); | 1319 setFirstCorrection(parameterId); |
1318 } | 1320 } |
1319 parameterId++; | 1321 parameterId++; |
1322 | |
1323 if(Settings.warningBuzzer > 1) | |
1324 { | |
1325 Settings.warningBuzzer = 0; | |
1326 corrections++; | |
1327 setFirstCorrection(parameterId); | |
1328 } | |
1329 parameterId++; | |
1330 | |
1331 | |
1320 /* uint8_t serialHigh; | 1332 /* uint8_t serialHigh; |
1321 */ | 1333 */ |
1322 | 1334 |
1323 /* uint8_t serialLow; | 1335 /* uint8_t serialLow; |
1324 */ | 1336 */ |