From cfe6949c84725bee94bb26eaffad5890dd4e1347 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Mon, 2 Feb 2015 00:08:09 +0000 Subject: [PATCH] Allow same rnage of values for board alignment as cli (-180 - 360) --- js/msp.js | 6 +++--- tabs/configuration.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/js/msp.js b/js/msp.js index 309dc55c34..0a42afe658 100644 --- a/js/msp.js +++ b/js/msp.js @@ -485,9 +485,9 @@ var MSP = { BF_CONFIG.mixerConfiguration = data.getUint8(0); BF_CONFIG.features = data.getUint32(1, 1); BF_CONFIG.serialrx_type = data.getUint8(5); - 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.board_align_roll = data.getInt16(6, 1); // -180 - 360 + BF_CONFIG.board_align_pitch = data.getInt16(8, 1); // -180 - 360 + BF_CONFIG.board_align_yaw = data.getInt16(10, 1); // -180 - 360 BF_CONFIG.currentscale = data.getInt16(12, 1); BF_CONFIG.currentoffset = data.getUint16(14, 1); break; diff --git a/tabs/configuration.html b/tabs/configuration.html index 5b68d6223a..ffeb7328d1 100644 --- a/tabs/configuration.html +++ b/tabs/configuration.html @@ -56,19 +56,19 @@