1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

Another couple of min/max fixed in Logical Switches

This commit is contained in:
bsongis 2014-06-21 20:12:28 +02:00
parent 026213fcd5
commit e14c2e0916
2 changed files with 18 additions and 6 deletions

View file

@ -721,9 +721,9 @@ ls_telemetry_value_t minTelemValue(uint8_t channel)
case TELEM_ACCx:
case TELEM_ACCy:
case TELEM_ACCz:
return -255;
return -1000;
case TELEM_VSPEED:
return -125;
return -200;
default:
return 0;
}
@ -757,6 +757,17 @@ ls_telemetry_value_t maxTelemValue(uint8_t channel)
case TELEM_CELL:
case TELEM_MIN_CELL:
return 510;
case TELEM_CELLS_SUM:
case TELEM_MIN_CELLS_SUM:
case TELEM_VFAS:
case TELEM_MIN_VFAS:
return 1000;
case TELEM_VSPEED:
return 200;
case TELEM_ACCx:
case TELEM_ACCy:
case TELEM_ACCz:
return 1000;
default:
return 30000;
#else