mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 05:57:16 +00:00
SAMA5D TWI: Fix typo in driver initialization logic.
This commit is contained in:
parent
a5175456ed
commit
2a10db2dbf
1 changed files with 1 additions and 1 deletions
|
|
@ -1453,7 +1453,7 @@ struct i2c_dev_s *up_i2cinitialize(int bus)
|
|||
/* Select up TWI3 and setup invariant attributes */
|
||||
|
||||
priv = &g_twi3;
|
||||
priv->attr = &g_twi2attr;
|
||||
priv->attr = &g_twi3attr;
|
||||
|
||||
/* Select the (initial) TWI frequency */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue