# HG changeset patch # User Ideenmodellierer # Date 1602083564 -7200 # Node ID 666cafac87ab796f6105bb4d4a8a69f9113f38e4 # Parent 39684aa19f281510a07707db4c106bd9fc995abc Increased max value for surface pressure: During unusal wetter conditions air pressure at sea level gone up to 1050 hPa causing the display to clip to 1030 hPa. Set max value to 1060 hPa to avoid a stable display of 1030 hPa over several days. diff -r 39684aa19f28 -r 666cafac87ab Small_CPU/Src/pressure.c --- a/Small_CPU/Src/pressure.c Sun Oct 04 15:50:43 2020 +0200 +++ b/Small_CPU/Src/pressure.c Wed Oct 07 17:12:44 2020 +0200 @@ -49,7 +49,7 @@ /* remove comment to use a predefined profile for pressure changes instead of real world data */ /* #define SIMULATE_PRESSURE */ -#define PRESSURE_SURFACE_MAX_MBAR (1030.0f) /* It is unlikely that pressure at surface is greater than this value => clip to it */ +#define PRESSURE_SURFACE_MAX_MBAR (1060.0f) /* It is unlikely that pressure at surface is greater than this value => clip to it */ #define PRESSURE_SURFACE_QUE (30u) /* history buffer [minutes] for past pressure measurements */ #define PRESSURE_SURFACE_EVA_WINDOW (15u) /* Number of entries evaluated during instability test. Used to avoid detection while dive enters water */