# HG changeset patch # User ideenmodellierer # Date 1585082907 -3600 # Node ID b2f8a39c11eab62766cba92f839f23266fb232cf # Parent 91a939915bfa8cf77e55bf62cfc56f0953e15151 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 diff -r 91a939915bfa -r b2f8a39c11ea Discovery/Inc/configuration.h --- 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 diff -r 91a939915bfa -r b2f8a39c11ea Discovery/Src/simulation.c --- 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;