File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -725,6 +725,21 @@ GraphConfig.load = function(config) {
725725 default :
726726 return getCurveForMinMaxFields ( fieldName ) ;
727727 }
728+ case 'GYRO_SAMPLE' :
729+ switch ( fieldName ) {
730+ case 'debug[0]' : // Before downsampling
731+ case 'debug[1]' : // After downsampling
732+ case 'debug[2]' : // After RPM
733+ case 'debug[3]' : // After all but Dyn Notch
734+ return {
735+ offset : 0 ,
736+ power : 0.25 , /* Make this 1.0 to scale linearly */
737+ inputRange : maxDegreesSecond ( gyroScaleMargin * highResolutionScale ) , // Maximum grad/s + 20%
738+ outputRange : 1.0
739+ } ;
740+ default :
741+ return getCurveForMinMaxFields ( fieldName ) ;
742+ }
728743 case 'RX_TIMING' :
729744 switch ( fieldName ) {
730745 case 'debug[0]' : // CRC 0 to max int16_t
You can’t perform that action at this time.
0 commit comments