mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Automatic OSTC firmware update: download file and try to install
This successfully downloads the hex file. The actuall update of the OSTC fails before it gets started with a crash when the ConfigureDiveComputer object is created. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0be0cdb046
commit
003f5d18b6
3 changed files with 73 additions and 23 deletions
|
|
@ -404,7 +404,7 @@ void DownloadFromDCWidget::onDownloadThreadFinished()
|
|||
MainWindow::instance()->dive_list()->selectDive(idx, true);
|
||||
QString dcName = data.devname;
|
||||
if (ostcFirmwareCheck)
|
||||
ostcFirmwareCheck->checkLatest(this, data.libdc_firmware);
|
||||
ostcFirmwareCheck->checkLatest(this, &data);
|
||||
}
|
||||
} else if (currentState == CANCELLING || currentState == CANCELLED) {
|
||||
if (import_thread_cancelled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue