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:
Anton Lundin 2016-12-28 20:56:13 +01:00 committed by Dirk Hohndel
parent 3b884c2e7c
commit edce764686
2 changed files with 3 additions and 2 deletions

View file

@ -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") {

View file

@ -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);
}