mirror of
https://github.com/apache/nuttx.git
synced 2026-08-28 12:50:36 +00:00
use correct macro for irqid (fortunately both point to LPC43_IRQ_EXTINT+18)
This commit is contained in:
parent
f50072bd6b
commit
0dee37ffb3
1 changed files with 2 additions and 2 deletions
|
|
@ -463,7 +463,7 @@ struct i2c_master_s *lpc43_i2cbus_initialize(int port)
|
|||
{
|
||||
priv = &g_i2c0dev;
|
||||
priv->base = LPC43_I2C0_BASE;
|
||||
priv->irqid = LPC43M0_IRQ_I2C0;
|
||||
priv->irqid = LPC43M4_IRQ_I2C0;
|
||||
priv->baseFreq = BOARD_ABP1_FREQUENCY;
|
||||
|
||||
/* Enable, set mode */
|
||||
|
|
@ -496,7 +496,7 @@ struct i2c_master_s *lpc43_i2cbus_initialize(int port)
|
|||
{
|
||||
priv = &g_i2c1dev;
|
||||
priv->base = LPC43_I2C1_BASE;
|
||||
priv->irqid = LPC43M0_IRQ_I2C1;
|
||||
priv->irqid = LPC43M4_IRQ_I2C1;
|
||||
priv->baseFreq = BOARD_ABP3_FREQUENCY;
|
||||
|
||||
/* No need to enable */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue