LPC23xx: Several fixes for typos from Lizhuoyi
This commit is contained in:
parent
c40c8d1924
commit
2d3f0f01a0
@ -130,22 +130,27 @@ config LPC2378_UART2
|
||||
default n
|
||||
select ARCH_HAVE_UART2
|
||||
|
||||
config LPC2378_UART3
|
||||
bool "UART3"
|
||||
default n
|
||||
select ARCH_HAVE_UART3
|
||||
|
||||
config LPC2378_USBDEV
|
||||
bool "USB Device"
|
||||
default n
|
||||
depends on USBDEV
|
||||
|
||||
config LPC2378_IC0
|
||||
config LPC2378_I2C0
|
||||
bool "I2C0"
|
||||
default n
|
||||
select I2C
|
||||
|
||||
config LPC2378_IC1
|
||||
config LPC2378_I2C1
|
||||
bool "I2C1"
|
||||
default n
|
||||
select I2C
|
||||
|
||||
config LPC2378_IC2
|
||||
config LPC2378_I2C2
|
||||
bool "I2C2"
|
||||
default n
|
||||
select I2C
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -377,7 +377,7 @@ static int i2c_interrupt (int irq, FAR void *context)
|
||||
/* Reference UM10360 19.10.5 */
|
||||
|
||||
uint32_t state = getreg32(priv->base + I2C_STAT_OFFSET);
|
||||
putreg32(I2C_CONCLR_SIC, priv->base + 2C_CONCLR_OFFSET);
|
||||
putreg32(I2C_CONCLR_SIC, priv->base + I2C_CONCLR_OFFSET);
|
||||
|
||||
priv->state = state;
|
||||
state &= 0xf8;
|
||||
|
Loading…
Reference in New Issue
Block a user