X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fi2c_lpc2.c;h=fd6a9fda45237c4a47d05225e852485b86101ce7;hb=6fffd0614f75137e8fed424c87835d4e7d478ef7;hp=94de0c208ecd644a1d6b086c00ceb0357cb1ecb9;hpb=b266d1e8fc98258132f79aca886cc0fda8c33f2a;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,