128 blades, is it ok? If no, just one constant to modify.

This commit is contained in:
bsongis
2014-04-01 22:01:11 +02:00
parent 213a7d2526
commit 376ab58437
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -490,6 +490,7 @@ TelemetryPanel::TelemetryPanel(QWidget *parent, ModelData & model):
if (IS_ARM(GetEepromInterface()->getBoard())) {
ui->bladesCount->setMinimum(1);
ui->bladesCount->setMaximum(128);
}
setup();
+2 -2
View File
@@ -1145,8 +1145,8 @@ PACK(typedef struct t_FrSkyData {
uint16_t storedMah:15;
int8_t fasOffset;
}) FrSkyData;
#define MIN_BLADES -1 // 1 blade
#define MAX_BLADES 3 // 5 blades
#define MIN_BLADES -1 // 1 blade
#define MAX_BLADES 126 // 128 blades
#else
#define MAX_FRSKY_SCREENS 2
PACK(typedef struct t_FrSkyData {