chore(cpn): refactor firmware flashing to use edgetx rs_dfu (#6521)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
raphaelcoeffic
parent
23830197b3
commit
dbce54dec6
@@ -56,8 +56,6 @@ extern const QColor colors[CPN_MAX_CURVES];
|
||||
#define TRIM_MODE_NONE 0x1F // 0b11111
|
||||
#define TRIM_MODE_3POS (2 * CPN_MAX_FLIGHT_MODES)
|
||||
|
||||
bool displayT16ImportWarning();
|
||||
|
||||
class CompanionIcon: public QIcon {
|
||||
public:
|
||||
CompanionIcon(const QString &baseimage);
|
||||
@@ -119,6 +117,10 @@ namespace Helpers
|
||||
unsigned int getBitmappedValue(const unsigned int & field, const unsigned int index = 0, const unsigned int numbits = 1, const unsigned int offset = 0);
|
||||
void setBitmappedValue(unsigned int & field, unsigned int value, unsigned int index = 0, unsigned int numbits = 1, unsigned int offset = 0);
|
||||
int getFirstPosValueIndex(QComboBox * cbo);
|
||||
QString concatPath(QString & str1, QString & str2, bool onlyonesep = true);
|
||||
QString concatPath(const QString & str1, const QString & str2, bool onlyonesep = true);
|
||||
QString concatPath(const QString & str1, QString & str2, bool onlyonesep = true);
|
||||
QString concatPath(QString & str1, const QString & str2, bool onlyonesep = true);
|
||||
|
||||
} // namespace Helpers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user