1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 06:15:13 +03:00

Cleanup code indention and positioning the rc_yaw_expo field

This commit is contained in:
ProDrone 2015-05-09 01:00:59 +02:00
parent 502a70233a
commit ab883c6dc5
4 changed files with 19 additions and 14 deletions

View file

@ -310,8 +310,8 @@ var MSP = {
if (semver.gte(CONFIG.apiVersion, "1.7.0")) {
RC_tuning.dynamic_THR_breakpoint = data.getUint16(offset++, 1);
}
if (semver.gte(CONFIG.apiVersion, "1.10.0")) {
RC_tuning.RC_YAW_EXPO = parseFloat((data.getUint8(offset++) / 100).toFixed(2));
if (semver.gte(CONFIG.apiVersion, "1.10.0")) {
RC_tuning.RC_YAW_EXPO = parseFloat((data.getUint8(offset++) / 100).toFixed(2));
}
break;
case MSP_codes.MSP_PID: