aboutsummaryrefslogtreecommitdiffstats
path: root/src/amps/dsp.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2018-02-15 07:22:24 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2018-02-15 08:00:18 +0100
commit627775357411da00ff06ceec83e34ad639fdaf78 (patch)
treebe30b359a617e3e40af5864531bfa8b0c5b2612d /src/amps/dsp.c
parent3ab5a3f6a9688fe39a22cd4cf349d2a40e3e52f8 (diff)
Minor debug message corrections
Diffstat (limited to 'src/amps/dsp.c')
-rw-r--r--src/amps/dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amps/dsp.c b/src/amps/dsp.c
index 8c3409a..9ce9c93 100644
--- a/src/amps/dsp.c
+++ b/src/amps/dsp.c
@@ -217,7 +217,7 @@ int dsp_init_sender(amps_t *amps, int tolerant)
amps->fsk_tx_buffer_size = amps->fsk_bitduration + 10; /* 10 extra to avoid overflow due to rounding */
spl = calloc(sizeof(*spl), amps->fsk_tx_buffer_size);
if (!spl) {
- PDEBUG(DDSP, DEBUG_DEBUG, "No memory!\n");
+ PDEBUG(DDSP, DEBUG_ERROR, "No memory!\n");
rc = -ENOMEM;
goto error;
}
@@ -233,7 +233,7 @@ int dsp_init_sender(amps_t *amps, int tolerant)
PDEBUG(DDSP, DEBUG_DEBUG, " -> Samples in window to analyse level right of edge: %d..%d\n", amps->fsk_rx_window_half, amps->fsk_rx_window_end - 1);
spl = calloc(sizeof(*amps->fsk_rx_window), amps->fsk_rx_window_length);
if (!spl) {
- PDEBUG(DDSP, DEBUG_DEBUG, "No memory!\n");
+ PDEBUG(DDSP, DEBUG_ERROR, "No memory!\n");
rc = -ENOMEM;
goto error;
}