[RP2040] update i2c drivers to reflect peripheral number (#19277)
This commit is contained in:
1 parent
f67f787cc2
commit
9dc3f79196
11 files changed
+14
-14
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user