swap the SDA/SCL order in HIL tests (S2/S3) (#4018)

This commit is contained in:
Kirill Mikhailov 2025-09-01 18:00:22 +02:00 committed by GitHub
parent 5f0f7cd573
commit 1a5c79ebc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)] {