Gyro added, dead code removed

This commit is contained in:
Bertrand Songis
2019-05-10 16:45:42 +02:00
parent f7622f6503
commit dab0bd30d9
8 changed files with 10 additions and 966 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ CalibrationPanel::CalibrationPanel(QWidget * parent, GeneralSettings & generalSe
headerLabels << tr("Negative span") << tr("Mid value") << tr("Positive span");
tableWidget->setHorizontalHeaderLabels(headerLabels);
int rows = CPN_MAX_STICKS + getBoardCapability(getCurrentBoard(), Board::Pots) + getBoardCapability(getCurrentBoard(), Board::Sliders) + getBoardCapability(getCurrentBoard(), Board::MouseAnalogs);
int rows = getBoardCapability(getCurrentBoard(), Board::MaxAnalogs);
tableWidget->setRowCount(rows);
for(int i = 0; i < rows; ++i) {