Added board firmware update functionality
This commit is contained in:
17
firmwareupdatehelper.h
Normal file
17
firmwareupdatehelper.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef FIRMWAREUPDATEHELPER_H
|
||||
#define FIRMWAREUPDATEHELPER_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class BMSInterface;
|
||||
|
||||
class FirmwareUpdateHelper : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit FirmwareUpdateHelper(QObject *parent = nullptr);
|
||||
Q_INVOKABLE bool uploadFirmware(QString filename, BMSInterface *interface);
|
||||
};
|
||||
|
||||
#endif // FIRMWAREUPDATEHELPER_H
|
||||
Reference in New Issue
Block a user