mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Check for firmware updates on new devices to
The list of OSTC devices have grown, and this updates our lists of for which devices we should check for firmware updates. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3b884c2e7c
commit
edce764686
2 changed files with 3 additions and 2 deletions
|
@ -227,7 +227,7 @@ OstcFirmwareCheck::OstcFirmwareCheck(QString product) : parent(0)
|
|||
{
|
||||
QUrl url;
|
||||
memset(&devData, 1, sizeof(devData));
|
||||
if (product == "OSTC 3") {
|
||||
if (product == "OSTC 3" || product == "OSTC 3+" || product == "OSTC Cr") {
|
||||
url = QUrl("http://www.heinrichsweikamp.net/autofirmware/ostc3_changelog.txt");
|
||||
latestFirmwareHexFile = QString("http://www.heinrichsweikamp.net/autofirmware/ostc3_firmware.hex");
|
||||
} else if (product == "OSTC Sport") {
|
||||
|
|
|
@ -366,7 +366,8 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked()
|
|||
thread->start();
|
||||
|
||||
QString product(ui.product->currentText());
|
||||
if (product == "OSTC 3" || product == "OSTC Sport")
|
||||
if (product == "OSTC 3" || product == "OSTC 3+" ||
|
||||
product == "OSTC Cr" || product == "OSTC Sport")
|
||||
ostcFirmwareCheck = new OstcFirmwareCheck(product);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue