fix(i2c): Moved i2c pins out of CONFIG_DISABLE_HAL_LOCKS (#9164)

This commit is contained in:
Jan Procházka 2024-01-23 13:10:43 +01:00 committed by GitHub
parent d177e4446f
commit 23c6779d87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,9 +42,10 @@ typedef volatile struct {
uint32_t frequency;
#if !CONFIG_DISABLE_HAL_LOCKS
SemaphoreHandle_t lock;
#endif
int8_t scl;
int8_t sda;
#endif
} i2c_bus_t;
static i2c_bus_t bus[SOC_I2C_NUM];