1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Merge pull request #4767 from martinbudden/bfa_enable_instruction_tcm

Enabled Instruction TCM
This commit is contained in:
Michael Keller 2017-12-19 01:36:32 +13:00 committed by GitHub
commit b94533ead1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 222 additions and 22 deletions

View file

@ -136,7 +136,7 @@ const gyroFftData_t *gyroFftData(int axis)
return &fftResult[axis];
}
FAST_CODE bool isDynamicFilterActive(void)
bool isDynamicFilterActive(void)
{
return feature(FEATURE_DYNAMIC_FILTER);
}
@ -144,7 +144,7 @@ FAST_CODE bool isDynamicFilterActive(void)
/*
* Collect gyro data, to be analysed in gyroDataAnalyseUpdate function
*/
FAST_CODE void gyroDataAnalyse(const gyroDev_t *gyroDev, biquadFilter_t *notchFilterDyn)
void gyroDataAnalyse(const gyroDev_t *gyroDev, biquadFilter_t *notchFilterDyn)
{
if (!isDynamicFilterActive()) {
return;
@ -197,7 +197,7 @@ typedef enum {
/*
* Analyse last gyro data from the last FFT_WINDOW_SIZE milliseconds
*/
FAST_CODE void gyroDataAnalyseUpdate(biquadFilter_t *notchFilterDyn)
void gyroDataAnalyseUpdate(biquadFilter_t *notchFilterDyn)
{
static int axis = 0;
static int step = 0;