SRA-VJTI / sra-board-component

ESP-IDF component for SRA Board
https://sravjti.in/sra-board-component/
MIT License
36 stars 20 forks source link

Remove redundant global mutex declaration in I2C peripherals #80

Closed gautam-dev-maker closed 1 year ago

gautam-dev-maker commented 1 year ago

Since i2c_port_state_t states[I2C_NUM_MAX]; acts as the global mutex for each peripherals, there is no need for another global mutex variable. This PR removes the global mutex variable.