Clean up signedness confusion in gaspressures.h

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-03-09 18:52:41 -08:00
parent 7f2ad93396
commit 7d1c2a142f

View file

@ -11,20 +11,20 @@ extern "C" {
* pressure reading from the tank */ * pressure reading from the tank */
typedef struct pr_track_struct pr_track_t; typedef struct pr_track_struct pr_track_t;
struct pr_track_struct { struct pr_track_struct {
int start; unsigned int start;
int end; unsigned int end;
int t_start; unsigned int t_start;
int t_end; unsigned int t_end;
int pressure_time; unsigned int pressure_time;
pr_track_t *next; pr_track_t *next;
}; };
typedef struct pr_interpolate_struct pr_interpolate_t; typedef struct pr_interpolate_struct pr_interpolate_t;
struct pr_interpolate_struct { struct pr_interpolate_struct {
int start; unsigned int start;
int end; unsigned int end;
int pressure_time; unsigned int pressure_time;
int acc_pressure_time; unsigned int acc_pressure_time;
}; };
enum interpolation_strategy {SAC, TIME, CONSTANT}; enum interpolation_strategy {SAC, TIME, CONSTANT};