mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Finish off the firmware update code.
This code connects the final parts of the generic firmware update code. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c11e2fbb6f
commit
adf03c7845
2 changed files with 24 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ public:
|
|||
READING,
|
||||
WRITING,
|
||||
RESETTING,
|
||||
FWUPDATE,
|
||||
CANCELLING,
|
||||
CANCELLED,
|
||||
ERROR,
|
||||
|
|
@ -49,11 +50,13 @@ private:
|
|||
ReadSettingsThread *readThread;
|
||||
WriteSettingsThread *writeThread;
|
||||
ResetSettingsThread *resetThread;
|
||||
FirmwareUpdateThread *firmwareThread;
|
||||
void setState(states newState);
|
||||
private slots:
|
||||
void readThreadFinished();
|
||||
void writeThreadFinished();
|
||||
void resetThreadFinished();
|
||||
void firmwareThreadFinished();
|
||||
void setError(QString err);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue