diff --git a/rtl_ais.c b/rtl_ais.c index 7420ce4..b77be4d 100644 --- a/rtl_ais.c +++ b/rtl_ais.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 by Kyle Keen * - * 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);