mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-01-14 12:17:19 +01:00
fix rtlsdr_demod_read_reg()
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
912a5b1e31
commit
6335b37668
@ -291,7 +291,7 @@ void rtlsdr_write_reg(rtlsdr_dev_t *dev, uint8_t block, uint16_t addr, uint16_t
|
|||||||
fprintf(stderr, "%s failed\n", __FUNCTION__);
|
fprintf(stderr, "%s failed\n", __FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t rtlsdr_demod_read_reg(rtlsdr_dev_t *dev, uint8_t page, uint8_t addr, uint8_t len)
|
uint16_t rtlsdr_demod_read_reg(rtlsdr_dev_t *dev, uint8_t page, uint16_t addr, uint8_t len)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
unsigned char data[2];
|
unsigned char data[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user