diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-04-21 13:51:29 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-04-21 16:11:39 -0400 |
commit | 8ac81fed6710a81ee00b0a02b0d8040dc9e7c0a5 (patch) | |
tree | b9cfeb39295a38ae8d71ed473aae1272e2788ff2 /src/lpc176x/gpio.h | |
parent | c5e79857407d385f868cdaac444e8e36ab2e03a6 (diff) | |
download | kutter-8ac81fed6710a81ee00b0a02b0d8040dc9e7c0a5.tar.gz kutter-8ac81fed6710a81ee00b0a02b0d8040dc9e7c0a5.tar.xz kutter-8ac81fed6710a81ee00b0a02b0d8040dc9e7c0a5.zip |
lpc176x: Add support for additional i2c buses
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/lpc176x/gpio.h')
-rw-r--r-- | src/lpc176x/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpc176x/gpio.h b/src/lpc176x/gpio.h index 97eb909b..482e0ce5 100644 --- a/src/lpc176x/gpio.h +++ b/src/lpc176x/gpio.h @@ -39,6 +39,7 @@ void spi_transfer(struct spi_config config, uint8_t receive_data , uint8_t len, uint8_t *data); struct i2c_config { + void *i2c; uint8_t addr; }; |