Limit rx plot resolution
This commit is contained in:
parent
123880d1b2
commit
2902fe7607
1 changed files with 2 additions and 2 deletions
|
@ -871,8 +871,8 @@ static void do_rx(int rx_pin, int bias_pin, float freq, char mode)
|
|||
float rssi = 10.0f * log10f(powf(agc_frac, 2));
|
||||
|
||||
for (int i = 0; i < IQ_BLOCK_LEN / 2; i += 2) {
|
||||
int I = block[i];
|
||||
int Q = block[i + 1];
|
||||
int I = block[i] >> 8;
|
||||
int Q = block[i + 1] >> 8;
|
||||
printf("%i %+4i | %+5.1f dBm | %+4i %+4i | ", overflow,
|
||||
RX_WORDS / 2 + gap, rssi, I, Q);
|
||||
plot_IQ(I, Q);
|
||||
|
|
Loading…
Reference in a new issue