changeset 450:b2f8a39c11ea minor_improvments

Added new compile switches for variants: The compile switches should be deactivated per default and only be activated if needed to compile local test software
author ideenmodellierer
date Tue, 24 Mar 2020 21:48:27 +0100
parents 91a939915bfa
children c2e02b87774f
files Discovery/Inc/configuration.h Discovery/Src/simulation.c
diffstat 2 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Inc/configuration.h	Mon Mar 23 21:14:54 2020 +0100
+++ b/Discovery/Inc/configuration.h	Tue Mar 24 21:48:27 2020 +0100
@@ -32,6 +32,15 @@
 /* #define SIM_WRITES_LOGBOOK 1 */
 
 /* Enable this for support of optical bottle pressure interface */
-#define ENABLE_BOTTLE_SENSOR
+/* #define ENABLE_BOTTLE_SENSOR */
+
+/* Enable this to show voltage in parallel to charge state */
+/* #define ALWAYS_SHOW_VOLTAGE */
+
+/* Enable this to skip coplete scan of dive log during startup */
+/* #define TRUST_LOG_CONSISTENCY */
+
+/* Enable this to reset the profile data by pressing enter within log info menu */
+/* #define ENABLE_PROFILE_RESET */
 
 #endif
--- a/Discovery/Src/simulation.c	Mon Mar 23 21:14:54 2020 +0100
+++ b/Discovery/Src/simulation.c	Tue Mar 24 21:48:27 2020 +0100
@@ -44,6 +44,8 @@
 #include "buehlmann.h"
 #include "logbook_miniLive.h"
 
+#include "configuration.h"
+
 //Private state variables
 static float sim_aim_depth_meter;
 static _Bool sim_heed_decostops = 1;