From 9a60d2ee63a917d0cf1318da82d464d50e9dfe36 Mon Sep 17 00:00:00 2001 From: Thomas Ingleby Date: Thu, 24 Jul 2014 11:21:33 +0100 Subject: [PATCH] i2c: boost max defined buses to 12. Signed-off-by: Thomas Ingleby --- api/mraa/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/mraa/common.h b/api/mraa/common.h index 7254945..b91d8ef 100644 --- a/api/mraa/common.h +++ b/api/mraa/common.h @@ -173,10 +173,10 @@ typedef struct { unsigned int gpio_count; /**< GPIO Count */ unsigned int aio_count; /**< Analog side Count */ unsigned int i2c_bus_count; /**< Usable i2c Count */ - mraa_i2c_bus_t i2c_bus[6]; /**< Array of i2c */ + mraa_i2c_bus_t i2c_bus[12]; /**< Array of i2c */ unsigned int def_i2c_bus; /**< Position in array of default i2c bus */ unsigned int spi_bus_count; /**< Usable spi Count */ - mraa_spi_bus_t spi_bus[6]; /**< Array of spi */ + mraa_spi_bus_t spi_bus[12]; /**< Array of spi */ unsigned int def_spi_bus; /**< Position in array of defult spi bus */ unsigned int adc_raw; /**< ADC raw bit value */ unsigned int adc_supported; /**< ADC supported bit value */