mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
LPC23xx: Several fixes for typos from Lizhuoyi
This commit is contained in:
@@ -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
|
||||
|
||||
+771
-724
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;
|
||||
|
||||
Reference in New Issue
Block a user