[RP2040] update i2c drivers to reflect peripheral number (#19277)
This commit is contained in:
parent
f67f787cc2
commit
9dc3f79196
11 changed files with 14 additions and 14 deletions
|
@ -8,7 +8,7 @@
|
|||
*========================**/
|
||||
|
||||
#if !defined(I2C_DRIVER)
|
||||
# define I2C_DRIVER I2CD2
|
||||
# define I2C_DRIVER I2CD1
|
||||
#endif
|
||||
|
||||
#if !defined(I2C1_SDA_PIN)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#pragma once
|
||||
|
||||
#ifndef I2C_DRIVER
|
||||
# define I2C_DRIVER I2CD2
|
||||
# define I2C_DRIVER I2CD1
|
||||
#endif
|
||||
#ifndef I2C1_SDA_PIN
|
||||
# define I2C1_SDA_PIN D1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue