diff options
Diffstat (limited to 'src/radio')
-rw-r--r-- | src/radio/main.c | 2 | ||||
-rw-r--r-- | src/radio/radio.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/radio/main.c b/src/radio/main.c index 6b3ba59..414406e 100644 --- a/src/radio/main.c +++ b/src/radio/main.c @@ -135,7 +135,7 @@ void print_help(const char *arg0) printf(" Give modulation index of amplitude modulated signal. (default %.0f)\n", modulation_index); printf(" -E --emphasis <uS> | 0\n"); printf(" Use given time constant of pre- and de-emphasis for frequency\n"); - printf(" modulation. Give 0 to disbale emphasis. (default = %.0f uS)\n", time_constant_us); + printf(" modulation. Give 0 to disable emphasis. (default = %.0f uS)\n", time_constant_us); printf(" VHF broadcast 50 uS in Europe and 75 uS in the United States.\n"); printf(" Other radio FM should use 530 uS, to cover complete speech spectrum.\n"); printf(" -V --volume %.3f\n", volume); diff --git a/src/radio/radio.c b/src/radio/radio.c index 9f1a13d..e56ea8e 100644 --- a/src/radio/radio.c +++ b/src/radio/radio.c @@ -75,7 +75,7 @@ int radio_init(radio_t *radio, int latspl, int samplerate, double frequency, con radio->signal_bandwidth = bandwidth; break; case MODULATION_NONE: - PDEBUG(DRADIO, DEBUG_ERROR, "Wrong modulation, plese fix!\n"); + PDEBUG(DRADIO, DEBUG_ERROR, "Wrong modulation, please fix!\n"); goto error; } @@ -333,7 +333,7 @@ int radio_init(radio_t *radio, int latspl, int samplerate, double frequency, con goto error; } - /* termporary I/Q/carrier buffers, used while demodulating */ + /* temporary I/Q/carrier buffers, used while demodulating */ radio->I_buffer = calloc(latspl, sizeof(*radio->I_buffer)); radio->Q_buffer = calloc(latspl, sizeof(*radio->Q_buffer)); radio->carrier_buffer = calloc(latspl, sizeof(*radio->carrier_buffer)); @@ -505,7 +505,7 @@ int radio_tx(radio_t *radio, float *baseband, int signal_num) } break; default: - PDEBUG(DRADIO, DEBUG_ERROR, "Wrong audio mode, plese fix!\n"); + PDEBUG(DRADIO, DEBUG_ERROR, "Wrong audio mode, please fix!\n"); return -EINVAL; } @@ -740,7 +740,7 @@ int radio_rx(radio_t *radio, float *baseband, int signal_num) } #endif if (!radio->rx_audio_mode) { - PDEBUG(DRADIO, DEBUG_ERROR, "Wrong audio mode, plese fix!\n"); + PDEBUG(DRADIO, DEBUG_ERROR, "Wrong audio mode, please fix!\n"); return -EINVAL; } |