Procházet zdrojové kódy

Fix FFT read range (now inclusive)

dds
PaulStoffregen před 9 roky
rodič
revize
8075883982
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +1
    -1
      analyze_fft1024.h
  2. +1
    -1
      analyze_fft256.h

+ 1
- 1
analyze_fft1024.h Zobrazit soubor

@@ -74,7 +74,7 @@ public:
uint32_t sum = 0;
do {
sum += output[binFirst++];
} while (binFirst < binLast);
} while (binFirst <= binLast);
return (float)sum * (1.0 / 16384.0);
}
void averageTogether(uint8_t n) {

+ 1
- 1
analyze_fft256.h Zobrazit soubor

@@ -82,7 +82,7 @@ public:
uint32_t sum = 0;
do {
sum += output[binFirst++];
} while (binFirst < binLast);
} while (binFirst <= binLast);
return (float)sum * (1.0 / 16384.0);
}
void averageTogether(uint8_t n) {

Načítá se…
Zrušit
Uložit