mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-07-14 13:25:11 +02:00
fix type definition in library
interface sorry mom! :P
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#ifndef __I2C_H
|
||||
#define __I2C_H
|
||||
|
||||
typedef int rtlsdr_dev_t;
|
||||
typedef struct rtlsdr_dev rtlsdr_dev_t;
|
||||
|
||||
int rtlsdr_i2c_write(rtlsdr_dev_t *dev, uint8_t i2c_addr, uint8_t *buffer, int len);
|
||||
int rtlsdr_i2c_read(rtlsdr_dev_t *dev, uint8_t i2c_addr, uint8_t *buffer, int len);
|
||||
|
Reference in New Issue
Block a user