mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
675646dd2f
commit
fa181d1ded
3 changed files with 11 additions and 13 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue