Use gpio_sys lib.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#ifndef __I2C_BB_H__
|
||||
#define __I2C_BB_H__
|
||||
|
||||
#include <libgpio_ftdi/gpio.h>
|
||||
#include <libgpio_sys/gpio_sys.h>
|
||||
|
||||
struct i2c_bb {
|
||||
struct gpio *sda;
|
||||
struct gpio *scl;
|
||||
struct gpio_sys *sda;
|
||||
struct gpio_sys *scl;
|
||||
};
|
||||
|
||||
int i2c_open(const struct i2c_bb *i2c);
|
||||
|
Reference in New Issue
Block a user