Telemetry sources removed from the Reset Global Function

This commit is contained in:
bsongis
2015-07-21 19:22:19 +02:00
parent 370728433a
commit 29e9039176
4 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -663,7 +663,7 @@ void CustomFunctionsPanel::populateFuncParamCB(QComboBox *b, uint function, unsi
}
if (IS_ARM(firmware->getBoard())) {
for (int i=0; i<C9X_MAX_SENSORS; ++i) {
if (model->sensorData[i].isAvailable()) {
if (model && model->sensorData[i].isAvailable()) {
RawSource item = RawSource(SOURCE_TYPE_TELEMETRY, 3*i);
qs.append(item.toString(model));
}