diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-05-05 18:30:13 +0200 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-05-05 18:30:13 +0200 |
commit | e9251da6e238a64018d3a4b64d4d4593aa7acbfb (patch) | |
tree | 54e109d0dc5185631593ed19a2fab07a6d26f49b /include | |
parent | eded5bf5c304aea7d493bdcc3f7f955c9e20f21d (diff) |
reset internally cached gain/freq values on setter failure
Diffstat (limited to 'include')
-rw-r--r-- | include/rtl-sdr.h | 2 |
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); |