diff --git a/src/amps/amps.c b/src/amps/amps.c index ad2881d..98046a2 100644 --- a/src/amps/amps.c +++ b/src/amps/amps.c @@ -555,10 +555,10 @@ int amps_create(const char *kanal, enum amps_chan_type chan_type, const char *de /* check if channel type matches channel number */ ct = amps_channel2type(atoi(kanal)); if (ct == CHAN_TYPE_CC && chan_type != CHAN_TYPE_PC && chan_type != CHAN_TYPE_CC_PC && chan_type != CHAN_TYPE_CC_PC_VC) { - LOGP(DAMPS, LOGL_NOTICE, "Channel number %s belongs to a control channel, but your channel type '%s' requires to be on a voice channel number. Some phone may reject this, but all my phones don't.\n", kanal, chan_type_long_name(chan_type)); + LOGP(DAMPS, LOGL_NOTICE, "Channel number %s belongs to a control channel, but your channel type '%s' requires it to be on a voice channel number. Some phones may reject this, but all my phones don't.\n", kanal, chan_type_long_name(chan_type)); } if (ct == CHAN_TYPE_VC && chan_type != CHAN_TYPE_VC) { - LOGP(DAMPS, LOGL_ERROR, "Channel number %s belongs to a voice channel, but your channel type '%s' requires to be on a control channel number. Please use correct channel.\n", kanal, chan_type_long_name(chan_type)); + LOGP(DAMPS, LOGL_ERROR, "Channel number %s belongs to a voice channel, but your channel type '%s' requires it to be on a control channel number. Please use correct channel.\n", kanal, chan_type_long_name(chan_type)); return -EINVAL; } /* only even channels */ diff --git a/src/amps/dsp.c b/src/amps/dsp.c index f0c5da2..ee7e667 100644 --- a/src/amps/dsp.c +++ b/src/amps/dsp.c @@ -964,7 +964,7 @@ void amps_set_dsp_mode(amps_t *amps, enum dsp_mode mode, int frame_length) if (mode == DSP_MODE_AUDIO_RX_AUDIO_TX && amps->dsp_mode != mode) jitter_reset(&s->sender.dejitter); - LOGP_CHAN(DDSP, LOGL_DEBUG, "Reset FSK frame transmitter, due to setting dsp mode.\n"); + LOGP_CHAN(DDSP, LOGL_DEBUG, "Reset FSK frame transmitter, due to setting DSP mode.\n"); amps->dsp_mode = mode; if (frame_length) diff --git a/src/amps/frame.c b/src/amps/frame.c index 14bd856..1814343 100644 --- a/src/amps/frame.c +++ b/src/amps/frame.c @@ -3512,7 +3512,7 @@ int amps_encode_frame_focc(amps_t *amps, char *bits) if (++amps->tx_focc_frame_count >= amps->si.overhead_repeat) amps->tx_focc_frame_count = 0; if (debug) - LOGP_CHAN(DFRAME, LOGL_INFO, "Subsequent system/filler frames are not show, to prevent flooding the output.\n"); + LOGP_CHAN(DFRAME, LOGL_INFO, "Subsequent system/filler frames are not shown, to prevent flooding the output.\n"); amps->tx_focc_debugged = 1; send: diff --git a/src/cnetz/telegramm.c b/src/cnetz/telegramm.c index 0525f8a..7461e9b 100644 --- a/src/cnetz/telegramm.c +++ b/src/cnetz/telegramm.c @@ -1622,7 +1622,7 @@ const char *cnetz_encode_telegramm(cnetz_t *cnetz) cnetz->sched_lr_debugged = 1; if (opcode == OPCODE_MLR_M && !cnetz->sched_mlr_debugged) { cnetz->sched_mlr_debugged = 1; - LOGP(DFRAME, LOGL_INFO, "Subsequent IDLE frames are not show, to prevent flooding the output.\n"); + LOGP(DFRAME, LOGL_INFO, "Subsequent IDLE frames are not shown, to prevent flooding the output.\n"); } return bits; diff --git a/src/libsdr/sdr.c b/src/libsdr/sdr.c index e322b5e..2ca153b 100644 --- a/src/libsdr/sdr.c +++ b/src/libsdr/sdr.c @@ -304,7 +304,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute This is correct, since there is no bandwidth below new center frequency. */ - LOGP(DSDR, LOGL_INFO, "We shift center frequency %.0f KHz down (half bandwidth), to prevent channel from overlap with DC level.\n", bandwidth / 2.0 / 1e3); + LOGP(DSDR, LOGL_INFO, "We shift center frequency %.0f KHz down (half bandwidth), to prevent channel from overlapping with DC level.\n", bandwidth / 2.0 / 1e3); } else { /* find two channels that are aside the center */ double low_dist = 0, high_dist = 0, dist; @@ -342,7 +342,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute tx_center_frequency = ((sdr->chan[low_c].tx_frequency) + (sdr->chan[high_c].tx_frequency)) / 2.0; - LOGP(DSDR, LOGL_INFO, "We move center freqeuency between the two channels in the middle, to prevent them from overlap with DC level.\n"); + LOGP(DSDR, LOGL_INFO, "We move center frequency between the two channels in the middle, to prevent them from overlapping with DC level.\n"); } } @@ -354,7 +354,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute low_side = (tx_center_frequency - tx_low_frequency) + bandwidth / 2.0; high_side = (tx_high_frequency - tx_center_frequency) + bandwidth / 2.0; range = ((low_side > high_side) ? low_side : high_side) * 2.0; - LOGP(DSDR, LOGL_INFO, "Total bandwidth (two side bands) for all TX Frequencies: %.0f Hz\n", range); + LOGP(DSDR, LOGL_INFO, "Total bandwidth (two sidebands) for all TX Frequencies: %.0f Hz\n", range); if (range > samplerate * USABLE_BANDWIDTH) { LOGP(DSDR, LOGL_NOTICE, "*******************************************************************************\n"); LOGP(DSDR, LOGL_NOTICE, "The required bandwidth of %.0f Hz exceeds %.0f%% of the sample rate.\n", range, USABLE_BANDWIDTH * 100.0); @@ -430,7 +430,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute This is correct, since there is no bandwidth below new center frequency. */ - LOGP(DSDR, LOGL_INFO, "We shift center frequency %.0f KHz down (half bandwidth), to prevent channel from overlap with DC level.\n", bandwidth / 2.0 / 1e3); + LOGP(DSDR, LOGL_INFO, "We shift center frequency %.0f KHz down (half bandwidth), to prevent channel from overlapping with DC level.\n", bandwidth / 2.0 / 1e3); } else { /* find two channels that are aside the center */ double low_dist, high_dist, dist; @@ -454,7 +454,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute rx_center_frequency = ((sdr->chan[low_c].rx_frequency) + (sdr->chan[high_c].rx_frequency)) / 2.0; - LOGP(DSDR, LOGL_INFO, "We move center freqeuency between the two channels in the middle, to prevent them from overlap with DC level.\n"); + LOGP(DSDR, LOGL_INFO, "We move center frequency between the two channels in the middle, to prevent them from overlapping with DC level.\n"); } } @@ -466,7 +466,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute low_side = (rx_center_frequency - rx_low_frequency) + bandwidth / 2.0; high_side = (rx_high_frequency - rx_center_frequency) + bandwidth / 2.0; range = ((low_side > high_side) ? low_side : high_side) * 2.0; - LOGP(DSDR, LOGL_INFO, "Total bandwidth (two side bands) for all RX Frequencies: %.0f Hz\n", range); + LOGP(DSDR, LOGL_INFO, "Total bandwidth (two sidebands) for all RX Frequencies: %.0f Hz\n", range); if (range > samplerate * USABLE_BANDWIDTH) { LOGP(DSDR, LOGL_NOTICE, "*******************************************************************************\n"); LOGP(DSDR, LOGL_NOTICE, "The required bandwidth of %.0f Hz exceeds %.0f%% of the sample rate.\n", range, USABLE_BANDWIDTH * 100.0); @@ -484,7 +484,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute if (am[c]) rc = am_demod_init(&sdr->chan[c].am_demod, samplerate, rx_offset, bandwidth / 2.0, 1.0 / modulation_index); /* bandwidth is only one side band */ else - rc = fm_demod_init(&sdr->chan[c].fm_demod, samplerate, rx_offset, bandwidth); /* bandwidth are deviation and both side bands */ + rc = fm_demod_init(&sdr->chan[c].fm_demod, samplerate, rx_offset, bandwidth); /* bandwidth are deviation and both sidebands */ if (rc < 0) goto error; } @@ -522,7 +522,7 @@ void *sdr_open(int __attribute__((__unused__)) direction, const char __attribute display_iq_init(samplerate); display_spectrum_init(samplerate, rx_center_frequency); - LOGP(DSDR, LOGL_INFO, "Using local oscillator offseet: %.0f Hz\n", sdr_config->lo_offset); + LOGP(DSDR, LOGL_INFO, "Using local oscillator offset: %.0f Hz\n", sdr_config->lo_offset); #ifdef HAVE_UHD if (sdr_config->uhd) { diff --git a/src/nmt/nmt.c b/src/nmt/nmt.c index a0ee610..b319c47 100644 --- a/src/nmt/nmt.c +++ b/src/nmt/nmt.c @@ -1790,7 +1790,7 @@ const char *nmt_get_frame(nmt_t *nmt) if (debug) LOGP_CHAN(DNMT, LOGL_DEBUG, "Sending frame %s.\n", nmt_frame_name(frame.mt)); if (debug && nmt->tx_last_frame_idle) - LOGP_CHAN(DNMT, LOGL_DEBUG, "Subsequent IDLE frames are not show, to prevent flooding the output.\n"); + LOGP_CHAN(DNMT, LOGL_DEBUG, "Subsequent IDLE frames are not shown, to prevent flooding the output.\n"); return bits; } diff --git a/src/r2000/r2000.c b/src/r2000/r2000.c index 19cc047..d8d653e 100644 --- a/src/r2000/r2000.c +++ b/src/r2000/r2000.c @@ -1227,7 +1227,7 @@ const char *r2000_get_frame(r2000_t *r2000) if (debug) LOGP_CHAN(DR2000, LOGL_DEBUG, "Sending frame %s.\n", r2000_frame_name(frame.message, REL_TO_SM)); if (debug && r2000->tx_last_frame_idle) - LOGP_CHAN(DR2000, LOGL_DEBUG, "Subsequent IDLE frames are not show, to prevent flooding the output.\n"); + LOGP_CHAN(DR2000, LOGL_DEBUG, "Subsequent IDLE frames are not shown, to prevent flooding the output.\n"); return bits; }