From e9251da6e238a64018d3a4b64d4d4593aa7acbfb Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Sat, 5 May 2012 18:30:13 +0200 Subject: reset internally cached gain/freq values on setter failure --- include/rtl-sdr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/rtl-sdr.h') 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); -- cgit v1.3.1