mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
HEADFREE true 3D (second edition)...
reduced memory footprint ... rebased squashed cleanup
This commit is contained in:
parent
36a6cfc2b1
commit
7146c40ca8
11 changed files with 181 additions and 92 deletions
|
@ -89,7 +89,7 @@ static float hanningWindow[FFT_WINDOW_SIZE];
|
|||
void initHanning()
|
||||
{
|
||||
for (int i = 0; i < FFT_WINDOW_SIZE; i++) {
|
||||
hanningWindow[i] = (0.5 - 0.5 * cosf(2 * M_PIf * i / (FFT_WINDOW_SIZE - 1)));
|
||||
hanningWindow[i] = (0.5 - 0.5 * cos_approx(2 * M_PIf * i / (FFT_WINDOW_SIZE - 1)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue