1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-16 04:45:18 +03:00

Allow negative current scales and allow an offset between 0 and 3.3V

This commit is contained in:
Marc Egli 2015-01-23 12:01:52 +01:00
parent b0743f6bae
commit 126beedf9c
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: