mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-21 06:13:41 +00:00
Bugfixes
- Firmware update device reattachment - Disconnect/connect with multiple devices - udev rule extended
This commit is contained in:
parent
2d44201de7
commit
44124bc09e
14 changed files with 90 additions and 66 deletions
|
|
@ -22,9 +22,13 @@ public:
|
|||
* - If the update fails during device reboot, the device pointer is set to zero and the device deleted
|
||||
* - If the update succeeds, the device pointer will be set to the new device instance
|
||||
*/
|
||||
explicit FirmwareUpdateDialog(Device *&dev, QWidget *parent = nullptr);
|
||||
explicit FirmwareUpdateDialog(Device *dev, QWidget *parent = nullptr);
|
||||
~FirmwareUpdateDialog();
|
||||
|
||||
signals:
|
||||
void DeviceRebooting(); // emitted when the update process is triggered, the device should be disconnected
|
||||
void DeviceRebooted(QString serial); // emitted when an updated device is enumerated after the update
|
||||
|
||||
private slots:
|
||||
void on_bFile_clicked();
|
||||
void on_bStart_clicked();
|
||||
|
|
@ -37,7 +41,7 @@ private:
|
|||
void abortWithError(QString error);
|
||||
void sendNextFirmwareChunk();
|
||||
Ui::FirmwareUpdateDialog *ui;
|
||||
Device *&dev;
|
||||
Device *dev;
|
||||
QFile *file;
|
||||
QTimer timer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue