@@ -664,6 +664,13 @@ function FlightLogFieldPresenter() {
664664 'debug[2]' :'Failure code' ,
665665 'debug[3]' :'Failure timers' ,
666666 } ;
667+ DEBUG_FRIENDLY_FIELD_NAMES . GPS_RESCUE_THROTTLE_PID = {
668+ 'debug[all]' :'GPS Rescue throttle PIDs' ,
669+ 'debug[0]' :'Throttle P' ,
670+ 'debug[1]' :'Throttle D' ,
671+ 'debug[2]' :'Altitude' ,
672+ 'debug[3]' :'Target altitude' ,
673+ } ;
667674 } else if ( semver . gte ( firmwareVersion , '4.3.0' ) ) {
668675 DEBUG_FRIENDLY_FIELD_NAMES . FEEDFORWARD = {
669676 'debug[all]' :'Feedforward [roll]' ,
@@ -1181,6 +1188,8 @@ function FlightLogFieldPresenter() {
11811188 case 'debug[2]' : // velocity to home cm/s
11821189 case 'debug[3]' : // velocity target cm/s
11831190 return ( value / 100 ) . toFixed ( 1 ) + 'm/s' ;
1191+ default :
1192+ return value . toFixed ( 0 ) ;
11841193 }
11851194 case 'GPS_RESCUE_HEADING' :
11861195 switch ( fieldName ) {
@@ -1191,6 +1200,8 @@ function FlightLogFieldPresenter() {
11911200 case 'debug[2]' : // Attitude in degrees * 10
11921201 case 'debug[3]' : // Angle to home in degrees * 10
11931202 return ( value / 10 ) . toFixed ( 1 ) + 'deg' ;
1203+ default :
1204+ return value . toFixed ( 0 ) ;
11941205 }
11951206 case 'GPS_RESCUE_TRACKING' :
11961207 switch ( fieldName ) {
0 commit comments