aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-05-05 18:30:13 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-05-05 18:30:13 +0200
commite9251da6e238a64018d3a4b64d4d4593aa7acbfb (patch)
tree54e109d0dc5185631593ed19a2fab07a6d26f49b /include
parenteded5bf5c304aea7d493bdcc3f7f955c9e20f21d (diff)
reset internally cached gain/freq values on setter failure
Diffstat (limited to 'include')
-rw-r--r--include/rtl-sdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtl-sdr.h b/include/rtl-sdr.h
index 305283a..6c342d1 100644
--- a/include/rtl-sdr.h
+++ b/include/rtl-sdr.h
@@ -101,7 +101,7 @@ RTLSDR_API int rtlsdr_set_tuner_gain(rtlsdr_dev_t *dev, int gain);
* Get actual gain the device is configured to.
*
* \param dev the device handle given by rtlsdr_open()
- * \return < 0 on error, gain in tenths of a dB, 115 means 11.5 dB.
+ * \return 0 on error, gain in tenths of a dB, 115 means 11.5 dB.
*/
RTLSDR_API int rtlsdr_get_tuner_gain(rtlsdr_dev_t *dev);