Skip to content

Commit

Permalink
fix(i2c): Moved i2c pins out of CONFIG_DISABLE_HAL_LOCKS
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y committed Jan 23, 2024
1 parent 9258a8c commit 4fe3369
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cores/esp32/esp32-hal-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 4fe3369

Please sign in to comment.