From 509adcb6fff8c31d9150a1eb82aeead7f3c97d59 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Mon, 11 Jan 2016 15:37:36 +0100 Subject: [PATCH] Update servo angles to match https://github.com/cleanflight/cleanflight/pull/1573 --- js/backup_restore.js | 4 ++-- js/msp.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/backup_restore.js b/js/backup_restore.js index db1667aa..717e67ef 100644 --- a/js/backup_restore.js +++ b/js/backup_restore.js @@ -478,8 +478,8 @@ function configuration_restore(callback) { for (var i = 0; i < configuration.profiles[profileIndex].ServoConfig.length; i++) { var servoConfig = profiles[profileIndex].ServoConfig; - servoConfig[i].angleAtMin = 90; - servoConfig[i].angleAtMax = 90; + servoConfig[i].angleAtMin = 45; + servoConfig[i].angleAtMax = 45; servoConfig[i].reversedInputSources = 0; // set the rate to 0 if an invalid value is detected. diff --git a/js/msp.js b/js/msp.js index fd3fb8d9..26628092 100644 --- a/js/msp.js +++ b/js/msp.js @@ -512,8 +512,8 @@ var MSP = { 'max': data.getInt16(i + 2, 1), 'middle': data.getInt16(i + 4, 1), 'rate': data.getInt8(i + 6), - 'angleAtMin': 90, - 'angleAtMax': 90, + 'angleAtMin': 45, + 'angleAtMax': 45, 'indexOfChannelToForward': undefined, 'reversedInputSources': 0 };