aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/gpio.h')
-rw-r--r--src/linux/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux/gpio.h b/src/linux/gpio.h
index e2a39be0..df9de752 100644
--- a/src/linux/gpio.h
+++ b/src/linux/gpio.h
@@ -45,6 +45,7 @@ void gpio_pwm_write(struct gpio_pwm g, uint16_t val);
struct i2c_config {
int fd;
+ uint8_t addr;
};
struct i2c_config i2c_setup(uint32_t bus, uint32_t rate, uint8_t addr);