Use gpio_sys lib.

This commit is contained in:
Thomas Klaehn
2019-07-25 13:33:01 +02:00
parent 0ad0a5a1d9
commit 1c436eab6c
4 changed files with 19 additions and 15 deletions

View File

@@ -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);