mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-07-13 12:55:10 +02:00
remove unused variables, type fixes
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
@ -306,8 +306,7 @@ void manchester(uint16_t *buf, int len)
|
||||
|
||||
void messages(uint16_t *buf, int len)
|
||||
{
|
||||
int i, i2, start, preamble_found;
|
||||
int data_i, index, shift, frame_len;
|
||||
int i, data_i, index, shift, frame_len;
|
||||
// todo, allow wrap across buffers
|
||||
for (i=0; i<len; i++) {
|
||||
if (buf[i] > 1) {
|
||||
@ -365,8 +364,8 @@ int main(int argc, char **argv)
|
||||
struct sigaction sigact;
|
||||
#endif
|
||||
char *filename = NULL;
|
||||
int n_read, r, opt;
|
||||
int i, gain = AUTO_GAIN; /* tenths of a dB */
|
||||
int r, opt;
|
||||
int gain = AUTO_GAIN; /* tenths of a dB */
|
||||
int dev_index = 0;
|
||||
int dev_given = 0;
|
||||
int ppm_error = 0;
|
||||
|
Reference in New Issue
Block a user