More CCR code cleanup

Random constants are bad. Let's use the indices that we already calculated
(and true and false if we mean boolean values).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-11-17 07:23:20 +00:00
parent 675646dd2f
commit fa181d1ded
3 changed files with 11 additions and 13 deletions

View file

@ -88,9 +88,6 @@ int get_maxtime(struct plot_info *pi);
* partial pressure graphs */
int get_maxdepth(struct plot_info *pi);
#define DILUENT_CYLINDER 1
#define DILUENT 1
#define NONDILUENT 0
#define SENSOR_PR 0
#define INTERPOLATED_PR 1
#define SENSOR_PRESSURE(_entry) (_entry)->pressure[SENSOR_PR]