geändert: src/rtl_adsb.c

geändert:       src/rtl_biast.c
	geändert:       src/rtl_eeprom.c
	geändert:       src/rtl_fm.c
	geändert:       src/rtl_power.c
	geändert:       src/rtl_sdr.c
	geändert:       src/rtl_tcp.c
	geändert:       src/rtl_test.c
This commit is contained in:
web-rpi 2021-09-14 10:31:11 +02:00
parent 031a044e31
commit b58a3ed9fb
8 changed files with 8 additions and 0 deletions

View File

@ -370,6 +370,7 @@ int main(int argc, char **argv)
int r, opt;
int gain = AUTO_GAIN; /* tenths of a dB */
int dev_index = 0;
int rtlsdr_get_index_by_serial(const char *serial);
int dev_given = 0;
int ppm_error = 0;
int enable_biastee = 0;

View File

@ -67,6 +67,7 @@ int main(int argc, char **argv)
{
int i, r, opt;
int dev_index = 0;
int rtlsdr_get_index_by_serial(const char *serial);
int dev_given = 0;
uint32_t bias_on = 0;
uint32_t gpio_pin = 0;

View File

@ -251,6 +251,7 @@ int main(int argc, char **argv)
{
int i, r, opt;
uint32_t dev_index = 0;
int rtlsdr_get_index_by_serial(const char *serial);
int device_count;
char *filename = NULL;
FILE *file = NULL;

View File

@ -98,6 +98,7 @@ struct dongle_state
pthread_t thread;
rtlsdr_dev_t *dev;
int dev_index;
// int rtlsdr_get_index_by_serial(const char *serial);
uint32_t freq;
uint32_t rate;
int gain;

View File

@ -764,6 +764,7 @@ int main(int argc, char **argv)
int f_set = 0;
int gain = AUTO_GAIN; // tenths of a dB
int dev_index = 0;
int rtlsdr_get_index_by_serial(const char *serial);
int dev_given = 0;
int ppm_error = 0;
int interval = 10;

View File

@ -116,6 +116,7 @@ int main(int argc, char **argv)
FILE *file;
uint8_t *buffer;
int dev_index = 0;
int rtlsdr_get_index_by_serial(const char *serial);
int dev_given = 0;
uint32_t frequency = 100000000;
uint32_t samp_rate = DEFAULT_SAMPLE_RATE;

View File

@ -372,6 +372,7 @@ int main(int argc, char **argv)
struct sockaddr_in local, remote;
uint32_t buf_num = 0;
int dev_index = 0;
int rtlsdr_get_index_by_serial(const char *serial);
int dev_given = 0;
int gain = 0;
int ppm_error = 0;

View File

@ -310,6 +310,7 @@ int main(int argc, char **argv)
int sync_mode = 0;
uint8_t *buffer;
int dev_index = 0;
int rtlsdr_get_index_by_serial(const char *serial);
int dev_given = 0;
uint32_t out_block_size = DEFAULT_BUF_LENGTH;
int count;