From: c vw <dl1ycf@darc.de>
Date: Thu, 27 May 2021 07:26:21 +0000 (+0200)
Subject: Some polishing to make the up-coming merge thinner.
X-Git-Url: https://git.rkrishnan.org/specifications/components/flags//%22../%22?a=commitdiff_plain;h=b96d5318cb7901f706cb1c78b58056571794a7ce;p=pihpsdr.git

Some polishing to make the up-coming merge thinner.
---

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