Remove o2/he from plot_data and fix gas plot text

plot_data.o2 and plot_data.he was wrong for all dives, due to that
cylinderindex was set right first in populate_pressure_information, and
thus those two contained bogus information.
This makes the plot-text use cylinderindex-lookup as everything else.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2013-09-22 23:21:01 +02:00 committed by Dirk Hohndel
parent dba16202c4
commit 0c9e6f9acc
3 changed files with 2 additions and 10 deletions

View file

@ -15,7 +15,6 @@ struct plot_info;
struct plot_data {
unsigned int in_deco:1;
int cylinderindex;
int o2, he;
int sec;
/* pressure[0] is sensor pressure
* pressure[1] is interpolated pressure */