X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fi2c_lpc2.c;h=fd6a9fda45237c4a47d05225e852485b86101ce7;hb=563795df4180aaceb7d69306551230c98fbca879;hp=94de0c208ecd644a1d6b086c00ceb0357cb1ecb9;hpb=0d4c0c64f736f37dba565aa9e113d3920ef905f9;p=bertos.git diff --git a/bertos/cpu/arm/drv/i2c_lpc2.c b/bertos/cpu/arm/drv/i2c_lpc2.c index 94de0c20..fd6a9fda 100644 --- a/bertos/cpu/arm/drv/i2c_lpc2.c +++ b/bertos/cpu/arm/drv/i2c_lpc2.c @@ -265,7 +265,7 @@ static const I2cVT i2c_lpc_vt = .read = i2c_genericRead, }; -static const struct I2cHardware i2c_lpc2_hw[] = +static struct I2cHardware i2c_lpc2_hw[] = { { /* I2C0 */ .base = I2C0_BASE_ADDR,