Mercurial > public > ostc4
comparison Discovery/Src/settings.c @ 1001:21142f4fa968 GasConsumption
Cleanup menu structucture afer menu shift:
Compass and timer have been moved to the new menu => some code cleanup was needed.
| author | Ideenmodellierer |
|---|---|
| date | Mon, 28 Apr 2025 22:53:36 +0200 |
| parents | 2f7531a8e922 |
| children | 085e9c04b76b |
comparison
equal
deleted
inserted
replaced
| 1000:c386ae6635e4 | 1001:21142f4fa968 |
|---|---|
| 1779 Settings.scrubberData[0].TimerMax = 0; | 1779 Settings.scrubberData[0].TimerMax = 0; |
| 1780 Settings.scrubberData[0].TimerCur = 0; | 1780 Settings.scrubberData[0].TimerCur = 0; |
| 1781 corrections++; | 1781 corrections++; |
| 1782 setFirstCorrection(parameterId); | 1782 setFirstCorrection(parameterId); |
| 1783 } | 1783 } |
| 1784 parameterId++; | 1784 parameterId++; /* 93 */ |
| 1785 if((Settings.scrubberData[1].TimerMax > MAX_SCRUBBER_TIME) || Settings.scrubberData[1].TimerCur < MIN_SCRUBBER_TIME || Settings.scrubberData[1].TimerCur > (int16_t)MAX_SCRUBBER_TIME) | 1785 if((Settings.scrubberData[1].TimerMax > MAX_SCRUBBER_TIME) || Settings.scrubberData[1].TimerCur < MIN_SCRUBBER_TIME || Settings.scrubberData[1].TimerCur > (int16_t)MAX_SCRUBBER_TIME) |
| 1786 { | 1786 { |
| 1787 Settings.scrubberData[1].TimerMax = 0; | 1787 Settings.scrubberData[1].TimerMax = 0; |
| 1788 Settings.scrubberData[1].TimerCur = 0; | 1788 Settings.scrubberData[1].TimerCur = 0; |
| 1789 corrections++; | 1789 corrections++; |
