Add reminder for OSTC Sport to re-enable bluetooth
The OSTC Sport exits bluetooth mode after the loogbook download. To update the firmware in the OSTC Sport, we need it enabled again, so we gently remind the user about doing that before continuing. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
95461830bb
commit
e00233051e
@ -242,6 +242,8 @@ void OstcFirmwareCheck::checkLatest(QWidget *_parent, device_data_t *data)
|
||||
QString message = tr("You should update the firmware on your dive computer: you have version %1 but the latest stable version is %2")
|
||||
.arg(firmware)
|
||||
.arg(latestFirmwareAvailable);
|
||||
if (strcmp(data->product, "OSTC Sport") == 0)
|
||||
message += tr("\n\nPlease start bluetooth on your OSTC Sport and do the same perparations as for a loogbook download before continuing with the update");
|
||||
response.addButton(tr("Not now"), QMessageBox::RejectRole);
|
||||
response.addButton(tr("Update firmware"), QMessageBox::AcceptRole);
|
||||
response.setText(message);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user