aboutsummaryrefslogtreecommitdiffstats
path: root/src/anetz/dsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/anetz/dsp.c')
-rw-r--r--src/anetz/dsp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/anetz/dsp.c b/src/anetz/dsp.c
index 65db940..f133aa0 100644
--- a/src/anetz/dsp.c
+++ b/src/anetz/dsp.c
@@ -339,10 +339,12 @@ static void fsk_tone(anetz_t *anetz, sample_t *samples, int length)
}
/* Provide stream of audio toward radio unit */
-void sender_send(sender_t *sender, sample_t *samples, int length)
+void sender_send(sender_t *sender, sample_t *samples, uint8_t *power, int length)
{
anetz_t *anetz = (anetz_t *) sender;
+ memset(power, 1, length);
+
switch (anetz->dsp_mode) {
case DSP_MODE_SILENCE:
memset(samples, 0, length * sizeof(*samples));