Recmode: Allow the user to specify gas reserve.

Since most regulators have an intermediate pressure of 10bar
the minimum value is 10 while the max is 99.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Joakim Bygdell 2015-04-09 17:41:41 +02:00 committed by Dirk Hohndel
parent 695637dcff
commit afea30fd8a
6 changed files with 49 additions and 13 deletions

1
pref.h
View file

@ -80,6 +80,7 @@ struct preferences {
bool display_transitions;
bool recreational_mode;
bool safetystop;
int reserve_gas;
int bottomsac;
int decosac;
int o2consumption; // ml per min