mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 12:50:53 +00:00
swap the SDA/SCL order in HIL tests (S2/S3) (#4018)
This commit is contained in:
parent
5f0f7cd573
commit
1a5c79ebc7
@ -57,7 +57,7 @@ macro_rules! i2c_pins {
|
||||
// Order: (SDA, SCL)
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(any(esp32s2, esp32s3))] {
|
||||
($peripherals.GPIO2, $peripherals.GPIO3)
|
||||
($peripherals.GPIO3, $peripherals.GPIO2)
|
||||
} else if #[cfg(esp32)] {
|
||||
($peripherals.GPIO32, $peripherals.GPIO33)
|
||||
} else if #[cfg(esp32c6)] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user