File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -843,7 +843,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
843843 if ( semver . gte ( CONFIG . apiVersion , "1.39.0" ) ) {
844844 FILTER_CONFIG . gyro_hardware_lpf = data . readU8 ( ) ;
845845 FILTER_CONFIG . gyro_32khz_hardware_lpf = data . readU8 ( ) ;
846- FILTER_CONFIG . gyro_soft_lpf_hz = data . readU16 ( ) ;
846+ FILTER_CONFIG . gyro_lowpass_hz = data . readU16 ( ) ;
847847 FILTER_CONFIG . gyro_lowpass2_hz = data . readU16 ( ) ;
848848 FILTER_CONFIG . gyro_lowpass_type = data . readU8 ( ) ;
849849 FILTER_CONFIG . gyro_lowpass2_type = data . readU8 ( ) ;
@@ -1472,7 +1472,7 @@ MspHelper.prototype.crunch = function(code) {
14721472 }
14731473 break ;
14741474 case MSPCodes . MSP_SET_FILTER_CONFIG :
1475- buffer . push8 ( FILTER_CONFIG . gyro_soft_lpf_hz )
1475+ buffer . push8 ( FILTER_CONFIG . gyro_lowpass_hz )
14761476 . push16 ( FILTER_CONFIG . dterm_lowpass_hz )
14771477 . push16 ( FILTER_CONFIG . yaw_lowpass_hz ) ;
14781478 if ( semver . gte ( CONFIG . apiVersion , "1.20.0" ) ) {
You can’t perform that action at this time.
0 commit comments