]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
small cosmetic changes
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 15 Aug 2022 07:57:04 +0000 (13:27 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 15 Aug 2022 07:57:04 +0000 (13:27 +0530)
radio.c

diff --git a/radio.c b/radio.c
index 038d9753987ded914e49c74ed900e38e307ce315..1a6dc23d535a57e751e1868918e35cb236ab5bb4 100644 (file)
--- a/radio.c
+++ b/radio.c
@@ -1815,11 +1815,16 @@ void setFrequency(long long f) {
   }
 }
 
-long long getFrequency() { return vfo[active_receiver->id].frequency; }
+long long getFrequency(void) {
+    return vfo[active_receiver->id].frequency;
+}
 
-double getDrive() { return transmitter->drive; }
+double getDrive(void) {
+    return transmitter->drive;
+}
 
 static int calcLevel(double d) {
+    fprintf(stderr, "calcLevel: input d = %f..", d);
   int level = 0;
   int v = get_tx_vfo();