mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
remove unused OSD data
add dynamic filters to F3 and F7 targets fix COLIBRI_RACE and OMNIBUS
This commit is contained in:
parent
75089ea24c
commit
c7f8e4d7a4
5 changed files with 36 additions and 38 deletions
|
@ -276,14 +276,6 @@ void gyroDataAnalyseUpdate(biquadFilter_t *notchFilterDyn) {
|
|||
}
|
||||
}
|
||||
|
||||
// copy data for display in OSD
|
||||
const float scaleFactor = 255.0 / MIN(1, fftResult[axis].maxVal);
|
||||
const int count = MIN(GYRO_FFT_BIN_COUNT, fftBinCount);
|
||||
for (int ii = 0; ii < count; ++ii) {
|
||||
fftResult[axis].bins[ii] = fftData[ii] * scaleFactor;
|
||||
}
|
||||
|
||||
|
||||
DEBUG_SET(DEBUG_FFT_FREQ, axis, fftResult[axis].centerFreq);
|
||||
DEBUG_SET(DEBUG_FFT_TIME, 1, micros() - startTime);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue