Merge branch 'feature-negative-currentsensors' of https://github.com/frog32/cleanflight-configurator into frog32-feature-negative-currentsensors

10.3.x-maintenance
Dominic Clifton 2015-01-26 19:01:01 +01:00
commit 342a5134a5
2 changed files with 3 additions and 3 deletions

View File

@ -482,7 +482,7 @@ var MSP = {
BF_CONFIG.board_align_roll = data.getInt16(6, 1);
BF_CONFIG.board_align_pitch = data.getInt16(8, 1);
BF_CONFIG.board_align_yaw = data.getInt16(10, 1);
BF_CONFIG.currentscale = data.getUint16(12, 1);
BF_CONFIG.currentscale = data.getInt16(12, 1);
BF_CONFIG.currentoffset = data.getUint16(14, 1);
break;
case MSP_codes.MSP_SET_BF_CONFIG:

View File

@ -198,13 +198,13 @@
</table>
<div class="number">
<label>
<input type="number" name="currentscale" step="1" min="1" max="1000" />
<input type="number" name="currentscale" step="1" min="-1000" max="1000" />
<span i18n="configurationCurrentScale"></span>
</label>
</div>
<div class="number">
<label>
<input type="number" name="currentoffset" step="1" min="1" max="1000" />
<input type="number" name="currentoffset" step="1" min="0" max="3300" />
<span i18n="configurationCurrentOffset"></span>
</label>
</div>