# HG changeset patch # User Ideenmodellierer # Date 1715109157 -7200 # Node ID 08ea8e9d6cfeef8e2fe7b7f4ed525d933412fe19 # Parent ba1aebc6d5af89c3cd510c0ed0f780b6c210541c Bugfix initialisation of surface pressure: A reset of the RTE less than one minute before a dive starts may cause problems in the depth calculation because the default pressure is not set yet. To avoid this the first measured pressure value will now be used as stable surface pressure to close the gap till the stable surface pressure is evaluated. diff -r ba1aebc6d5af -r 08ea8e9d6cfe Small_CPU/Src/pressure.c --- a/Small_CPU/Src/pressure.c Sun May 05 17:27:28 2024 +0200 +++ b/Small_CPU/Src/pressure.c Tue May 07 21:12:37 2024 +0200 @@ -130,6 +130,7 @@ for(int i=0; i