Mercurial > public > ostc4
changeset 535:666cafac87ab
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.
author | Ideenmodellierer |
---|---|
date | Wed, 07 Oct 2020 17:12:44 +0200 |
parents | 39684aa19f28 |
children | 54c5ec8416c4 |
files | Small_CPU/Src/pressure.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 */