fix(i2c): Moved i2c pins out of CONFIG_DISABLE_HAL_LOCKS (#9164)
This commit is contained in:
parent
d177e4446f
commit
23c6779d87
1 changed files with 2 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue