Closed gautam-dev-maker closed 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.
i2c_port_state_t states[I2C_NUM_MAX];
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.