mirror of
https://github.com/xdsopl/robot36.git
synced 2025-12-06 07:12:07 +01:00
give the raw sample to the analyzer
This commit is contained in:
parent
f0816a8426
commit
659a644362
|
|
@ -217,7 +217,7 @@ void decode(int samples) {
|
|||
continue;
|
||||
float norm_amp = amp / avg_amp;
|
||||
|
||||
spectrum_analyzer(norm_amp);
|
||||
spectrum_analyzer(amp);
|
||||
|
||||
complex_t cnt_baseband = convert(&cnt_ddc, norm_amp);
|
||||
complex_t dat_baseband = convert(&dat_ddc, norm_amp);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ static void freq_marker(int freq)
|
|||
}
|
||||
}
|
||||
|
||||
static void spectrum_analyzer(float amplitude)
|
||||
static void spectrum_analyzer(int amplitude)
|
||||
{
|
||||
const int M = 7;
|
||||
static int n;
|
||||
|
|
|
|||
Loading…
Reference in a new issue