mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make it compile
This is not hoocked up on Subsurface code yet, but it's already being compilled. now I just need to hoock things up. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b01bca7953
commit
fd175e8781
4 changed files with 146 additions and 89 deletions
|
@ -228,29 +228,29 @@ static inline int mbar_to_PSI(int mbar)
|
|||
#undef PASCAL
|
||||
#endif
|
||||
struct units {
|
||||
enum {
|
||||
enum LENGHT {
|
||||
METERS,
|
||||
FEET
|
||||
} length;
|
||||
enum {
|
||||
enum VOLUME {
|
||||
LITER,
|
||||
CUFT
|
||||
} volume;
|
||||
enum {
|
||||
enum PRESSURE {
|
||||
BAR,
|
||||
PSI,
|
||||
PASCAL
|
||||
} pressure;
|
||||
enum {
|
||||
enum TEMPERATURE {
|
||||
CELSIUS,
|
||||
FAHRENHEIT,
|
||||
KELVIN
|
||||
} temperature;
|
||||
enum {
|
||||
enum WEIGHT {
|
||||
KG,
|
||||
LBS
|
||||
} weight;
|
||||
enum {
|
||||
enum TIME {
|
||||
SECONDS,
|
||||
MINUTES
|
||||
} vertical_speed_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue