Mercurial > public > ostc4
diff Small_CPU/Src/pressure.c @ 341:591c03a1e68d
change max. allowed surface pressure to 1030hPa (As in the small OSTC)
Change Firmware to 1.5.1
Change RTE to 2.0
Create install file for testing and release
author | heinrichsweikamp |
---|---|
date | Sun, 06 Oct 2019 14:07:51 +0200 |
parents | 37f45300bc2e |
children | ba53ab77f059 |
line wrap: on
line diff
--- a/Small_CPU/Src/pressure.c Mon Aug 19 11:42:31 2019 +0000 +++ b/Small_CPU/Src/pressure.c Sun Oct 06 14:07:51 2019 +0200 @@ -46,7 +46,7 @@ #define CMD_ADC_4096 0x08 // ADC OSR=4096 #define CMD_PROM_RD 0xA0 // Prom read command -#define PRESSURE_SURFACE_MAX_MBAR (1070.0f) /* It is very unlikely that pressure at surface is greater than this value => clip to it */ +#define PRESSURE_SURFACE_MAX_MBAR (1030.0f) /* It is unlikely that pressure at surface is greater than this value => clip to it */ #define PRESSURE_HISTORY_SIZE (8u) #define PRESSURE_JUMP_VALID_MBAR (500.0f) /* values are measure several times a second => jumps > 5m very unlikely */