Fix Shearwater import pressure data
Apparently recording cylinder pressure in PSI is not the only oddity with Shearwater Desktop. It also records half the value, so doubling the reading here. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
f6f74a0a3e
commit
fcc69103be
@ -150,7 +150,7 @@
|
||||
</xsl:if>
|
||||
<xsl:if test="tank0pressurePSI != '' and tank0pressurePSI > 0 and tank0pressurePSI < 4092">
|
||||
<xsl:attribute name="pressure">
|
||||
<xsl:value-of select="concat(format-number((tank0pressurePSI div 14.5037738007), '#.##'), ' bar')"/>
|
||||
<xsl:value-of select="concat(format-number((tank0pressurePSI * 2 div 14.5037738007), '#.##'), ' bar')"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
</sample>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user