1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 00:05:22 +03:00

Adjusted current meter setting ranges to allow for negative offset.

This commit is contained in:
mikeller 2016-11-20 18:55:00 +13:00
parent 0123388a7f
commit 41b2d60f8e
2 changed files with 4 additions and 4 deletions

View file

@ -391,7 +391,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
BF_CONFIG.board_align_pitch = data.read16(); // -180 - 360
BF_CONFIG.board_align_yaw = data.read16(); // -180 - 360
BF_CONFIG.currentscale = data.read16();
BF_CONFIG.currentoffset = data.readU16();
BF_CONFIG.currentoffset = data.read16();
updateTabList(BF_CONFIG.features);

View file

@ -384,12 +384,12 @@
</tbody>
</table>
<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>
</label>
</div>
<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>
</label>
</div>