Mercurial > public > ostc4
comparison Discovery/Inc/configuration.h @ 446:f1257a32f2d4 minor_improvments
Introduced configuration header for variant managment:
At the moment several defines are distributed across the code allowing special SW builds (e.g. logging simulated dives). To make these options more transparent and easier to configurate a separate header has been added. With this header an new option for an optical pressure sensor was introduced.
author | ideenmodellierer |
---|---|
date | Thu, 05 Mar 2020 22:31:50 +0100 |
parents | |
children | b2f8a39c11ea |
comparison
equal
deleted
inserted
replaced
445:ee1434824c3f | 446:f1257a32f2d4 |
---|---|
1 /////////////////////////////////////////////////////////////////////////////// | |
2 /// -*- coding: UTF-8 -*- | |
3 /// | |
4 /// \file Discovery/Inc/configuration.h | |
5 /// \brief Header file for variant specific firmware adaptations at compile time | |
6 /// \author heinrichs weikamp gmbh | |
7 /// \date 29-February-2020 | |
8 /// | |
9 /// $Id$ | |
10 /////////////////////////////////////////////////////////////////////////////// | |
11 /// \par Copyright (c) 2014-2020 Heinrichs Weikamp gmbh | |
12 /// | |
13 /// This program is free software: you can redistribute it and/or modify | |
14 /// it under the terms of the GNU General Public License as published by | |
15 /// the Free Software Foundation, either version 3 of the License, or | |
16 /// (at your option) any later version. | |
17 /// | |
18 /// This program is distributed in the hope that it will be useful, | |
19 /// but WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
21 /// GNU General Public License for more details. | |
22 /// | |
23 /// You should have received a copy of the GNU General Public License | |
24 /// along with this program. If not, see <http://www.gnu.org/licenses/>. | |
25 ////////////////////////////////////////////////////////////////////////////// | |
26 | |
27 | |
28 #ifndef CONFIGURATION_HEADER | |
29 #define CONFIGURATION_HEADER | |
30 | |
31 /* Enable this to make the simulator write a logbook entry */ | |
32 /* #define SIM_WRITES_LOGBOOK 1 */ | |
33 | |
34 /* Enable this for support of optical bottle pressure interface */ | |
35 #define ENABLE_BOTTLE_SENSOR | |
36 | |
37 #endif |