Scale problem with Cur+ and Pwr+ in telemetry bars

This commit is contained in:
bsongis
2014-03-17 10:37:47 +01:00
parent f1aeecaf9a
commit e2c26ac295
+2
View File
@@ -2105,6 +2105,8 @@ getvalue_t convert8bitsTelemValue(uint8_t channel, ls_telemetry_value_t value)
break; break;
case TELEM_CURRENT: case TELEM_CURRENT:
case TELEM_POWER: case TELEM_POWER:
case TELEM_MAX_CURRENT:
case TELEM_MAX_POWER:
result = value * 5; result = value * 5;
break; break;
case TELEM_CONSUMPTION: case TELEM_CONSUMPTION: