Support new Multi 1.3 features (#7077)

This commit is contained in:
3djc
2019-11-15 16:20:24 +01:00
committed by GitHub
parent 86b186fafd
commit 3a7e006635
57 changed files with 1542 additions and 355 deletions
+2 -1
View File
@@ -23,6 +23,7 @@
#include <vector>
#include <QtCore>
#include "moduledata.h"
#define MM_RF_CUSTOM_SELECTED 0xff
@@ -48,7 +49,7 @@ class Multiprotocols
unsigned int numSubTypes() const
{
return (unsigned int) subTypeStrings.length();
return protocol > MODULE_SUBTYPE_MULTI_LAST ? 8 : (unsigned int) subTypeStrings.length();
}
int getOptionMin() const;