Add planner minimum gas switch duration option

Add the option for a minimum gas switch duration to the planner UI.  This is not actually used yet.

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Rick Walsh 2015-06-19 20:25:03 +10:00 committed by Dirk Hohndel
parent ab90375c19
commit 4dfdea1e1d
6 changed files with 41 additions and 2 deletions

1
pref.h
View file

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