align with osmocom changes

This commit is contained in:
rtlsdrblog 2023-08-23 15:44:28 +12:00
parent 936fd51358
commit d0dd9837ad
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#ifndef __I2C_H #ifndef __I2C_H
#define __I2C_H #define __I2C_H
int rtlsdr_check_dongle_model(void *dev, char* manufact_check, char* product_check);
uint32_t rtlsdr_get_tuner_clock(void *dev); uint32_t rtlsdr_get_tuner_clock(void *dev);
int rtlsdr_i2c_write_fn(void *dev, uint8_t addr, uint8_t *buf, int len); int rtlsdr_i2c_write_fn(void *dev, uint8_t addr, uint8_t *buf, int len);
int rtlsdr_i2c_read_fn(void *dev, uint8_t addr, uint8_t *buf, int len); int rtlsdr_i2c_read_fn(void *dev, uint8_t addr, uint8_t *buf, int len);

View File

@ -120,6 +120,4 @@ int r82xx_set_freq(struct r82xx_priv *priv, uint32_t freq);
int r82xx_set_gain(struct r82xx_priv *priv, int set_manual_gain, int gain); int r82xx_set_gain(struct r82xx_priv *priv, int set_manual_gain, int gain);
int r82xx_set_bandwidth(struct r82xx_priv *priv, int bandwidth, uint32_t rate); int r82xx_set_bandwidth(struct r82xx_priv *priv, int bandwidth, uint32_t rate);
int rtlsdr_check_dongle_model(void *dev, char* manufact_check, char* product_check);
#endif #endif