Do not init points to identity function to avoid issues with radio firmware

This commit is contained in:
Raphael Coeffic
2021-12-31 10:53:11 +01:00
parent 7648dfc544
commit 3eb55af228
2 changed files with 0 additions and 16 deletions
@@ -1280,10 +1280,6 @@ class CurvesField: public TransformedField {
curve->points[j].x = *cur++;
curve->points[curve->count-1].x = +100;
}
else {
for (int j=0; j<curve->count; j++)
curve->points[j].x = -100 + (200*i) / (curve->count-1);
}
qCDebug(eepromImport) << QString("imported curve: %3 points").arg(curve->count);
}
}