diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-11-22 20:31:57 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-03 13:26:55 -0800 |
commit | faf4736675167838883a4a10bc30182857d25c32 (patch) | |
tree | 4a855bd7f6f04062503085593904d7e3a7c94bf0 | |
parent | f0a512b0b872086b097387a2a82afac9b88611ef (diff) | |
download | subsurface-faf4736675167838883a4a10bc30182857d25c32.tar.gz |
downloader: turn off bluetooth mode for now
Eventually, this should also be set from the command line.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
-rw-r--r-- | core/cli-downloader.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/cli-downloader.cpp b/core/cli-downloader.cpp index 4f672eda7..77053c0c7 100644 --- a/core/cli-downloader.cpp +++ b/core/cli-downloader.cpp @@ -10,11 +10,13 @@ void cliDownloader(const char *vendor, const char *product, const char *device) DiveImportedModel *diveImportedModel = new DiveImportedModel(); DiveImportedModel::connect(diveImportedModel, &DiveImportedModel::downloadFinished, [] { // do something useful at the end of the download + printf("Finished\n"); }); auto data = diveImportedModel->thread.data(); data->setVendor(vendor); data->setProduct(product); + data->setBluetoothMode(false); if (data->vendor() == "Uemis") { char *colon; char *devname = strdup(device); @@ -29,7 +31,7 @@ void cliDownloader(const char *vendor, const char *product, const char *device) // some assumptiond - should all be configurable data->setForceDownload(false); - data->setSaveLog(false); + data->setSaveLog(true); data->setSaveDump(false); // before we start, remember where the dive_table ended |