projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c45277
)
small cosmetic changes
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Mon, 15 Aug 2022 07:57:04 +0000
(13:27 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Mon, 15 Aug 2022 07:57:04 +0000
(13:27 +0530)
radio.c
patch
|
blob
|
history
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();