Skip to content

Commit 6a4f99e

Browse files
authored
Update tpa_low (#677)
1 parent 4a00b12 commit 6a4f99e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

js/flightlog_parser.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,9 @@ var FlightLogParser = function(logData) {
353353
throttle_boost: null, // throttle boost
354354
throttle_boost_cutoff: null,
355355
thrust_linear: null,
356-
tpa_rate_lower: null,
357-
tpa_breakpoint_lower: null,
358-
tpa_breakpoint_lower_fade: null,
356+
tpa_low_rate: null,
357+
tpa_low_breakpoint: null,
358+
tpa_low_always: null,
359359
unknownHeaders : [] // Unknown Extra Headers
360360
},
361361

@@ -438,9 +438,9 @@ var FlightLogParser = function(logData) {
438438
yaw_accel_limit : "yawRateAccelLimit",
439439
yaw_lowpass_hz : "yaw_lpf_hz",
440440
thrust_linear : "thrust_linear",
441-
tpa_rate_lower : "tpa_rate_lower",
442-
tpa_breakpoint_lower : "tpa_breakpoint_lower",
443-
tpa_breakpoint_lower_fade : "tpa_breakpoint_lower_fade",
441+
tpa_low_rate : "tpa_low_rate",
442+
tpa_low_breakpoint : "tpa_low_breakpoint",
443+
tpa_low_always : "tpa_low_always",
444444
},
445445

446446
frameTypes,
@@ -854,9 +854,9 @@ var FlightLogParser = function(logData) {
854854
case "gyro_lowpass_dyn_expo":
855855
case "dterm_lpf_dyn_expo":
856856
case "thrust_linear":
857-
case "tpa_rate_lower":
858-
case "tpa_breakpoint_lower":
859-
case "tpa_breakpoint_lower_fade":
857+
case "tpa_low_rate":
858+
case "tpa_low_breakpoint":
859+
case "tpa_low_always":
860860
case "dterm_lpf_dyn_hz":
861861
that.sysConfig[fieldName] = parseCommaSeparatedString(fieldValue);
862862
break;

0 commit comments

Comments
 (0)