aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.h
diff options
context:
space:
mode:
authorTom Tsou <tom@tsou.cc>2014-11-25 15:46:56 -0800
committerTom Tsou <tom@tsou.cc>2014-12-15 16:20:15 -0700
commita4d1a4124421473f5f92255e2f3bc44bfa3937ea (patch)
tree9af9b04c2915028363593771e5233e5335c996c1 /Transceiver52M/radioInterface.h
parentb99975917585dc8973cc806a5da0aa3fc791b198 (diff)
Transceiver52M: Allow setting gain before POWERON
There is no reason gain settings should not be modifiable when the radio is running or not. Signed-off-by: Tom Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r--Transceiver52M/radioInterface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h
index b88fe6b..877102f 100644
--- a/Transceiver52M/radioInterface.h
+++ b/Transceiver52M/radioInterface.h
@@ -120,7 +120,7 @@ public:
/** drive reception of GSM bursts */
bool driveReceiveRadio();
- void setPowerAttenuation(double atten, size_t chan = 0);
+ int setPowerAttenuation(int atten, size_t chan = 0);
/** returns the full-scale transmit amplitude **/
double fullScaleInputValue();