mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: Add option to force overwrite firmware for OSTC4.
In order to support development of the open source firmware of the OSTC4. Requires changes in libdivecomputer. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
5b263a8f4e
commit
324fbfa685
7 changed files with 47 additions and 33 deletions
|
@ -44,11 +44,12 @@ private:
|
|||
class FirmwareUpdateThread : public DeviceThread {
|
||||
Q_OBJECT
|
||||
public:
|
||||
FirmwareUpdateThread(QObject *parent, device_data_t *data, QString fileName);
|
||||
FirmwareUpdateThread(QObject *parent, device_data_t *data, QString fileName, bool forceUpdate);
|
||||
void run();
|
||||
|
||||
private:
|
||||
QString m_fileName;
|
||||
bool m_forceUpdate;
|
||||
};
|
||||
|
||||
class ResetSettingsThread : public DeviceThread {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue