Save the diluent pressures to XML

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-11-15 12:19:11 +02:00 committed by Dirk Hohndel
parent 763dfef315
commit 744e14b450

View file

@ -213,6 +213,7 @@ static void save_sample(struct membuffer *b, struct sample *sample, struct sampl
put_milli(b, " depth='", sample->depth.mm, " m'");
put_temperature(b, sample->temperature, " temp='", " C'");
put_pressure(b, sample->cylinderpressure, " pressure='", " bar'");
put_pressure(b, sample->diluentpressure, " pdiluent='", " bar'");
/*
* We only show sensor information for samples with pressure, and only if it