Save Bluetooth download mode settings

Save the dive computer download mode flag. In this way,
if the user used Bluetooth mode to download its dives on
his last session he doesn't need to open the Bth selection
dialog if he wants to use the same device.

Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Claudiu Olteanu 2015-09-06 23:59:28 +03:00 committed by Dirk Hohndel
parent 384ab944f2
commit 9e97f124c6
5 changed files with 17 additions and 3 deletions

View file

@ -53,7 +53,7 @@ int enumerate_devices(device_callback_t callback, void *userdata, int dc_type);
extern const char *default_dive_computer_vendor;
extern const char *default_dive_computer_product;
extern const char *default_dive_computer_device;
extern int default_dive_computer_download_mode;
#define AMB_PERCENTAGE 50.0
#ifdef __cplusplus