Merge pull request #345 from mikeller/adjust_current_meter_settings
Adjusted current meter setting ranges to allow for negative offset.10.3.x-maintenance
commit
e0b1393fe2
|
@ -392,7 +392,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
|
||||||
BF_CONFIG.board_align_pitch = data.read16(); // -180 - 360
|
BF_CONFIG.board_align_pitch = data.read16(); // -180 - 360
|
||||||
BF_CONFIG.board_align_yaw = data.read16(); // -180 - 360
|
BF_CONFIG.board_align_yaw = data.read16(); // -180 - 360
|
||||||
BF_CONFIG.currentscale = data.read16();
|
BF_CONFIG.currentscale = data.read16();
|
||||||
BF_CONFIG.currentoffset = data.readU16();
|
BF_CONFIG.currentoffset = data.read16();
|
||||||
|
|
||||||
updateTabList(BF_CONFIG.features);
|
updateTabList(BF_CONFIG.features);
|
||||||
|
|
||||||
|
|
|
@ -384,12 +384,12 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<label> <input type="number" name="currentscale" step="1" min="-1000" max="1000" /> <span
|
<label> <input type="number" name="currentscale" step="1" min="-16000" max="16000" /> <span
|
||||||
i18n="configurationCurrentScale"></span>
|
i18n="configurationCurrentScale"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="number">
|
<div class="number">
|
||||||
<label> <input type="number" name="currentoffset" step="1" min="0" max="3300" /> <span
|
<label> <input type="number" name="currentoffset" step="1" min="-1600" max="16000" /> <span
|
||||||
i18n="configurationCurrentOffset"></span>
|
i18n="configurationCurrentOffset"></span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue