mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Merge pull request #278 from GullCode/tv_collector_warning_fix
removed unused variables
This commit is contained in:
commit
9d437aee6a
@ -88,11 +88,9 @@ void TvCollector::post_message(const buffer_c16_t& data) {
|
||||
// Called from baseband processing thread.
|
||||
float re, im;
|
||||
float mag;
|
||||
float max;
|
||||
if( streaming && !channel_spectrum_request_update ) {
|
||||
for(size_t i=0; i<256; i++)
|
||||
{
|
||||
const auto s = data.p[i];
|
||||
re = (float)(data.p[i].real());
|
||||
im = (float)(data.p[i].imag());
|
||||
mag = __builtin_sqrtf((re * re) + (im * im)) ;
|
||||
|
Loading…
Reference in New Issue
Block a user