Mercurial > public > ostc4
diff Small_CPU/Src/pressure.c @ 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 | 9eeab3fead8f |
children | 4644891d2f51 |
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 */