File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed
Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 153153 FILTER_TYPE = makeReadOnly ( [
154154 "PT1" ,
155155 "BIQUAD" ,
156+ "FIR" ,
156157 ] ) ,
157158
158159 DEBUG_MODE = makeReadOnly ( [
177178 "DEBUG_ALTITUDE" ,
178179 "DEBUG_FFT" ,
179180 "DEBUG_FFT_TIME" ,
180- "DEBUG_FFT_FREQ"
181+ "DEBUG_FFT_FREQ" ,
182+ "DEBUG_FRSKY_D_RX" ,
183+ "DEBUG_GYRO_RAW"
181184 ] ) ,
182185
183186 SUPER_EXPO_YAW = makeReadOnly ( [
Original file line number Diff line number Diff line change @@ -236,8 +236,23 @@ function FlightLogFieldPresenter() {
236236 'debug[1]' :'center_freq[pitch]' ,
237237 'debug[2]' :'center_freq[yaw]' ,
238238 'debug[3]' :'Not used' ,
239- }
240- } ;
239+ } ,
240+ 'DEBUG_FRSKY_D_RX' : {
241+ 'debug[all]' :'Debug FRSKY_D_RX' ,
242+ 'debug[0]' :'debug[0]' ,
243+ 'debug[1]' :'debug[1]' ,
244+ 'debug[2]' :'debug[2]' ,
245+ 'debug[3]' :'debug[3]' ,
246+
247+ } ,
248+ 'DEBUG_GYRO_RAW' : {
249+ 'debug[all]' :'Debug Gyro Raw' ,
250+ 'debug[0]' :'gyro_raw[X]' ,
251+ 'debug[1]' :'gyro_raw[Y]' ,
252+ 'debug[2]' :'gyro_raw[Z]' ,
253+ 'debug[3]' :'Not Used' ,
254+ } ,
255+ } ;
241256
242257 function presentFlags ( flags , flagNames ) {
243258 var
@@ -481,7 +496,7 @@ function FlightLogFieldPresenter() {
481496 FlightLogFieldPresenter . fieldNameToFriendly = function ( fieldName , debugMode ) {
482497 if ( debugMode ) {
483498 if ( fieldName . includes ( 'debug' ) ) {
484- var debugFields = DEBUG_FRIENDLY_FIELD_NAMES [ DEBUG_MODE [ debugMode ] ] ;
499+ var debugFields = DEBUG_FRIENDLY_FIELD_NAMES [ debugMode < DEBUG_MODE . length ? DEBUG_MODE [ debugMode ] : DEBUG_MODE [ 0 ] ] ;
485500 return debugFields [ fieldName ] ;
486501 }
487502 }
You can’t perform that action at this time.
0 commit comments