[Companion] Servos limits are displayed in us if ppmus option selected

This commit is contained in:
bsongis
2014-08-26 16:51:55 +02:00
parent 1721fd635e
commit 1f8b3725c4
6 changed files with 102 additions and 127 deletions
+1 -2
View File
@@ -42,7 +42,7 @@ class GVarGroup: public QObject {
Q_OBJECT
public:
GVarGroup(QCheckBox *weightGV, QAbstractSpinBox *weightSB, QComboBox *weightCB, int & weight, const int deflt, const int mini, const int maxi, const double step=1, const unsigned int flags=0);
GVarGroup(QCheckBox *weightGV, QAbstractSpinBox *weightSB, QComboBox *weightCB, int & weight, const int deflt, const int mini, const int maxi, const double step=1, bool allowGVars=true);
protected slots:
void gvarCBChanged(int);
@@ -56,7 +56,6 @@ class GVarGroup: public QObject {
QComboBox *weightCB;
int & weight;
double step;
unsigned int flags;
bool lock;
};