annotate Discovery/Inc/configuration.h @ 673:d7c5d592076b Betatest

Show 98% in case of Oxygen as the calibrating gas See #define O2_CALIB_FRACTION_O2 (0.98F)
author heinrichsweikamp
date Wed, 30 Mar 2022 18:00:21 +0200
parents 1b995079c045
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
446
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
1 ///////////////////////////////////////////////////////////////////////////////
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
2 /// -*- coding: UTF-8 -*-
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
3 ///
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
4 /// \file Discovery/Inc/configuration.h
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
5 /// \brief Header file for variant specific firmware adaptations at compile time
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
6 /// \author heinrichs weikamp gmbh
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
7 /// \date 29-February-2020
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
8 ///
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
9 /// $Id$
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
10 ///////////////////////////////////////////////////////////////////////////////
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
11 /// \par Copyright (c) 2014-2020 Heinrichs Weikamp gmbh
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
12 ///
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
13 /// This program is free software: you can redistribute it and/or modify
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
14 /// it under the terms of the GNU General Public License as published by
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
15 /// the Free Software Foundation, either version 3 of the License, or
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
16 /// (at your option) any later version.
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
17 ///
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
18 /// This program is distributed in the hope that it will be useful,
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
21 /// GNU General Public License for more details.
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
22 ///
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
23 /// You should have received a copy of the GNU General Public License
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
24 /// along with this program. If not, see <http://www.gnu.org/licenses/>.
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
25 //////////////////////////////////////////////////////////////////////////////
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
26
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
27 #ifndef CONFIGURATION_HEADER
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
28 #define CONFIGURATION_HEADER
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
29
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
30 /* Enable this to make the simulator write a logbook entry */
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
31 /* #define SIM_WRITES_LOGBOOK 1 */
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
32
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
33 /* Enable this for support of optical bottle pressure interface */
450
b2f8a39c11ea Added new compile switches for variants:
ideenmodellierer
parents: 446
diff changeset
34 /* #define ENABLE_BOTTLE_SENSOR */
b2f8a39c11ea Added new compile switches for variants:
ideenmodellierer
parents: 446
diff changeset
35
b2f8a39c11ea Added new compile switches for variants:
ideenmodellierer
parents: 446
diff changeset
36 /* Enable this to show voltage in parallel to charge state */
b2f8a39c11ea Added new compile switches for variants:
ideenmodellierer
parents: 446
diff changeset
37 /* #define ALWAYS_SHOW_VOLTAGE */
b2f8a39c11ea Added new compile switches for variants:
ideenmodellierer
parents: 446
diff changeset
38
b2f8a39c11ea Added new compile switches for variants:
ideenmodellierer
parents: 446
diff changeset
39 /* Enable this to skip coplete scan of dive log during startup */
533
02e7e11fdbe8 increase version numbers, compile with TRUST_LOG_CONSISTENCY switch
heinrichsweikamp
parents: 526
diff changeset
40 #define TRUST_LOG_CONSISTENCY
450
b2f8a39c11ea Added new compile switches for variants:
ideenmodellierer
parents: 446
diff changeset
41
464
05c5c3d10902 Added compile switch to handle additional data during raw header request:
ideenmodellierer
parents: 450
diff changeset
42 /* Enable this to transfer additional data list last dive ID and last sample index during raw data requests */
05c5c3d10902 Added compile switch to handle additional data during raw header request:
ideenmodellierer
parents: 450
diff changeset
43 /* define SEND_DATA_DETAILS */
05c5c3d10902 Added compile switch to handle additional data during raw header request:
ideenmodellierer
parents: 450
diff changeset
44
468
aa1d71875e25 Moved and deactivated analyse sample buffer switch:
ideenmodellierer
parents: 464
diff changeset
45 /* Enable to activate a menu item in reset menu which provide sample ring analysis / repair functionality */
aa1d71875e25 Moved and deactivated analyse sample buffer switch:
ideenmodellierer
parents: 464
diff changeset
46 /* #define ENABLE_ANALYSE_SAMPLES */
aa1d71875e25 Moved and deactivated analyse sample buffer switch:
ideenmodellierer
parents: 464
diff changeset
47
492
4ce932235578 Added compiler switch for existing debug view parameter
Ideenmodellierer
parents: 468
diff changeset
48 /* Enable to have access to the debug view options (turn on / off via menu instead of compile switch) */
4ce932235578 Added compiler switch for existing debug view parameter
Ideenmodellierer
parents: 468
diff changeset
49 /* #define HAVE_DEBUG_VIEW */
4ce932235578 Added compiler switch for existing debug view parameter
Ideenmodellierer
parents: 468
diff changeset
50
522
7512804bc6cf Added compile switch for motion control:
Ideenmodellierer
parents: 505
diff changeset
51 /* Enable to have access to the motion control selection menu */
673
d7c5d592076b Show 98% in case of Oxygen as the calibrating gas
heinrichsweikamp
parents: 662
diff changeset
52 #define ENABLE_MOTION_CONTROL
522
7512804bc6cf Added compile switch for motion control:
Ideenmodellierer
parents: 505
diff changeset
53
526
88c626d01ee5 Added new option to gas configuration: "Off":
Ideenmodellierer
parents: 522
diff changeset
54 /* Enable to have option to hide not needed gases from dive views */
88c626d01ee5 Added new option to gas configuration: "Off":
Ideenmodellierer
parents: 522
diff changeset
55 /* #define ENABLE_UNUSED_GAS_HIDING */
594
280c11153080 Added compile switch for new T3 View Profile
Ideenmodellierer
parents: 533
diff changeset
56
280c11153080 Added compile switch for new T3 View Profile
Ideenmodellierer
parents: 533
diff changeset
57 /* Enable to have the new T3 profile view available */
673
d7c5d592076b Show 98% in case of Oxygen as the calibrating gas
heinrichsweikamp
parents: 662
diff changeset
58 #define ENABLE_T3_PROFILE_VIEW
594
280c11153080 Added compile switch for new T3 View Profile
Ideenmodellierer
parents: 533
diff changeset
59
633
68d95049f11a Added menu structure to allow ppo2 modification in simulator mode:
Ideenmodellierer
parents: 594
diff changeset
60 /* Enable to have PPO2 adjustments in T3 sensor view during dive simulation */
68d95049f11a Added menu structure to allow ppo2 modification in simulator mode:
Ideenmodellierer
parents: 594
diff changeset
61 /* #define ENABLE_T3_PPO_SIM */
594
280c11153080 Added compile switch for new T3 View Profile
Ideenmodellierer
parents: 533
diff changeset
62
662
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 633
diff changeset
63 /* Enable to have PSCR functionality available */
673
d7c5d592076b Show 98% in case of Oxygen as the calibrating gas
heinrichsweikamp
parents: 662
diff changeset
64 #define ENABLE_PSCR_MODE
662
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 633
diff changeset
65
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 633
diff changeset
66 /* Enable to have CO2 sensor functionality available */
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 633
diff changeset
67 /* #define ENABLE_CO2_SUPPORT */
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 633
diff changeset
68
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 633
diff changeset
69 /* Enable if you are using sensors with a voltage range 8..16 mV at surface / air level */
673
d7c5d592076b Show 98% in case of Oxygen as the calibrating gas
heinrichsweikamp
parents: 662
diff changeset
70 #define ENABLE_ALTERNATIVE_SENSORTYP
662
1b995079c045 PSCR Mode
heinrichs weikamp
parents: 633
diff changeset
71
446
f1257a32f2d4 Introduced configuration header for variant managment:
ideenmodellierer
parents:
diff changeset
72 #endif