From b96d5318cb7901f706cb1c78b58056571794a7ce Mon Sep 17 00:00:00 2001 From: c vw Date: Thu, 27 May 2021 09:26:21 +0200 Subject: [PATCH] Some polishing to make the up-coming merge thinner. --- dac.h | 2 +- ext.h | 1 - rx_panadapter.c | 2 ++ transmitter.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dac.h b/dac.h index 851c4d2..a08135f 100644 --- a/dac.h +++ b/dac.h @@ -22,7 +22,7 @@ typedef struct _dac { gint antenna; - double gain; + gdouble gain; } DAC; #endif diff --git a/ext.h b/ext.h index ff18bb5..66c74f9 100644 --- a/ext.h +++ b/ext.h @@ -150,4 +150,3 @@ extern void band_plus(int id); extern void band_minus(int id); extern void num_pad(int num); extern void update_vfo_step(int direction); - diff --git a/rx_panadapter.c b/rx_panadapter.c index 93189fe..b2d80c5 100644 --- a/rx_panadapter.c +++ b/rx_panadapter.c @@ -591,6 +591,7 @@ void rx_panadapter_update(RECEIVER *rx) { cairo_pattern_destroy(gradient); } +/* #ifdef GPIO if(rx->id==0 && controller==CONTROLLER1) { @@ -615,6 +616,7 @@ void rx_panadapter_update(RECEIVER *rx) { } } #endif +*/ if(display_sequence_errors) { if(sequence_errors!=0) { diff --git a/transmitter.c b/transmitter.c index 3748214..d751cbf 100644 --- a/transmitter.c +++ b/transmitter.c @@ -1422,7 +1422,7 @@ void add_mic_sample(TRANSMITTER *tx,float mic_sample) { // side tone ramp=cwramp48[cw_shape]; cwsample=0.00197 * getNextSideToneSample() * cw_keyer_sidetone_volume * ramp; - if(active_receiver->local_audio) cw_audio_write(active_receiver, cwsample); + if(active_receiver->local_audio) cw_audio_write(active_receiver,cwsample); cw_shape_buffer48[tx->samples]=ramp; // // In the new protocol, we MUST maintain a constant flow of audio samples to the radio -- 2.45.2