Don't show ID for calculated sensors

This commit is contained in:
Andre Bernet
2015-03-25 14:05:02 +04:00
parent c778a4756f
commit 0bea656cd2
@@ -509,7 +509,9 @@ void menuModelTelemetry(uint8_t event)
lcd_putsAtt(TELEM_COL2, y, "---", 0); // TODO shortcut
}
TelemetrySensor * sensor = & g_model.telemetrySensors[index];
lcd_outdezAtt(TELEM_COL3+1*FW, y, sensor->instance, LEFT);
if (sensor->type == TELEM_TYPE_CUSTOM) {
lcd_outdezAtt(TELEM_COL3+1*FW, y, sensor->instance, LEFT);
}
if (attr) {
s_editMode = 0;
s_currIdx = index;