@@ -207,6 +207,7 @@ var FlightLogParser = function(logData) {
207
207
blackbox_high_resolution :null , // Blackbox high resolution mode
208
208
thrMid :null , // Throttle Mid Position
209
209
thrExpo :null , // Throttle Expo
210
+ tpa_mode :null , // TPA Mode
210
211
tpa_breakpoint :null , // TPA Breakpoint
211
212
airmode_activate_throttle :null , // airmode activation level
212
213
serialrx_provider :null , // name of the serial rx provider
@@ -610,7 +611,8 @@ var FlightLogParser = function(logData) {
610
611
case "rcRate" :
611
612
case "thrMid" :
612
613
case "thrExpo" :
613
- case "dynThrPID" :
614
+ case "tpa_rate" :
615
+ case "tpa_mode" :
614
616
case "tpa_breakpoint" :
615
617
case "airmode_activate_throttle" :
616
618
case "serialrx_provider" :
@@ -987,9 +989,11 @@ var FlightLogParser = function(logData) {
987
989
console . log ( "Saw unsupported field header \"" + fieldName + "\"" ) ;
988
990
}
989
991
} else {
990
- console . log ( "Ignoring unsupported header \"" + fieldName + "\"" ) ;
991
- if ( that . sysConfig . unknownHeaders == null ) that . sysConfig . unknownHeaders = new Array ( ) ;
992
- that . sysConfig . unknownHeaders . push ( { name : fieldName , value : fieldValue } ) ; // Save the unknown headers
992
+ console . log ( `Ignoring unsupported header ${ fieldName } ${ fieldValue } ` ) ;
993
+ if ( that . sysConfig . unknownHeaders === null ) {
994
+ that . sysConfig . unknownHeaders = new Array ( ) ;
995
+ }
996
+ that . sysConfig . unknownHeaders . push ( { name : fieldName , value : fieldValue } ) ; // Save the unknown headers
993
997
}
994
998
break ;
995
999
}
0 commit comments