mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-02 19:46:45 -04:00
Clean up complex<int8_t> -> complex<float> casting.
This commit is contained in:
parent
060da5d227
commit
85e984ed3b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ void WidebandSpectrum::execute(buffer_c8_t buffer) {
|
|||
// TODO: Removed window-presum windowing, due to lack of available code RAM.
|
||||
// TODO: Apply window to improve spectrum bin sidelobes.
|
||||
for(size_t i=0; i<channel_spectrum.size(); i++) {
|
||||
spectrum[i] += std::complex<float> { buffer.p[i].real(), buffer.p[i].imag() };
|
||||
spectrum[i] += buffer.p[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue