kopia lustrzana https://github.com/dgiardini/rtl-ais
Fix: Dongle_freq and dongle_rate are local
rodzic
28e6a291ee
commit
ce6bccef49
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Copyright (C) 2012 by Kyle Keen <keenerd@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* This program is free software: you can redistribsetute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
|
@ -619,10 +619,10 @@ struct rtl_ais_context *rtl_ais_start(struct rtl_ais_config *config)
|
|||
verbose_ppm_set(ctx->dev, config->ppm_error);
|
||||
|
||||
/* Set the tuner frequency */
|
||||
verbose_set_frequency(ctx->dev, config->dongle_freq);
|
||||
verbose_set_frequency(ctx->dev, dongle_freq);
|
||||
|
||||
/* Set the sample rate */
|
||||
verbose_set_sample_rate(ctx->dev, config->dongle_rate);
|
||||
verbose_set_sample_rate(ctx->dev, dongle_rate);
|
||||
|
||||
/* Reset endpoint before we start reading from it (mandatory) */
|
||||
verbose_reset_buffer(ctx->dev);
|
||||
|
|
Ładowanie…
Reference in New Issue