annotate Discovery/Inc/tInfoPreDive.h @ 902:d4622533271d Evo_2_23

VPM table mode: Because of the model maths, usage of float data type and so on it may happen that the TTS decreases during ascent and continues calculation of the vpm. To keep the values stable the vpm table mode has been introduces. Instead of continously calculation of the stops the stop time is decreased if the diver is close to a deco stop. If the table is violated (e.g. by not doing gas change) the table will be updated to the new, longer runtime. The table will not be switch back to a shorter version in case e.g. the missed gas change is performed
author Ideenmodellierer
date Wed, 02 Oct 2024 22:18:19 +0200
parents 17d9d6eddd8d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
845
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
1 ///////////////////////////////////////////////////////////////////////////////
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
2 /// -*- coding: UTF-8 -*-
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
3 ///
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
4 /// \file Discovery/Inc/tInfoSensor.h
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
5 /// \brief Infopage content for connected smart sensors
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
6 /// \author heinrichs weikamp gmbh
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
7 /// \date 17-11-2022
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
8 ///
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
9 /// $Id$
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
10 ///////////////////////////////////////////////////////////////////////////////
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
11 /// \par Copyright (c) 2014-2022 Heinrichs Weikamp gmbh
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
12 ///
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
13 /// This program is free software: you can redistribute it and/or modify
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
14 /// it under the terms of the GNU General Public License as published by
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
15 /// the Free Software Foundation, either version 3 of the License, or
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
16 /// (at your option) any later version.
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
17 ///
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
18 /// This program is distributed in the hope that it will be useful,
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
21 /// GNU General Public License for more details.
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
22 ///
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
23 /// You should have received a copy of the GNU General Public License
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
24 /// along with this program. If not, see <http://www.gnu.org/licenses/>.
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
25 //////////////////////////////////////////////////////////////////////////////
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
26
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
27 /* Define to prevent recursive inclusion -------------------------------------*/
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
28 #ifndef TINFO_PREDIVE_H
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
29 #define TINFO_PREDIVE_H
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
30
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
31 /* Exported functions --------------------------------------------------------*/
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
32 void openInfo_PreDive();
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
33 void refreshInfo_PreDive(GFX_DrawCfgScreen s);
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
34 void sendActionToInfoPreDive(uint8_t sendAction);
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
35
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
36
17d9d6eddd8d Added new PreDiveCheck info page:
Ideenmodellierer
parents:
diff changeset
37 #endif /* TINFO_COMPASS_H */