Fix maximum amplitude
This commit is contained in:
parent
b0a3aeb50b
commit
0fd6d60031
|
@ -446,7 +446,7 @@ static void rf_rx(void)
|
|||
* We are allowing the counters to only go as high
|
||||
* as sampling rate.
|
||||
*/
|
||||
int64_t max_amplitude = CLK_SYS_HZ / 2 / sample_rate;
|
||||
int64_t max_amplitude = CLK_SYS_HZ / 1 / sample_rate;
|
||||
|
||||
for (int i = 0; i < IQ_SAMPLES; i++) {
|
||||
int64_t I = next_sample(cos_ptr + 0, prevI);
|
||||
|
|
Loading…
Reference in a new issue