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

Set the clk_flags field to default configuration in the i2c configura… #79

Closed RISHI27-dot closed 1 year ago

RISHI27-dot commented 1 year ago

…tion

The struct i2c_config_t now has a new field called clk_flags in the most recent stable version of the ESP-IDF, ESP-IDF v4.4.2-dirty When self-balancing and MPU code are flashed, the i2c configuration fails because the field is not initialized in the present code, which results in the ESP32 rebooting.

VedantParanjape commented 1 year ago

@RISHI27-dot rewrite this PR, since we moved from u8g2 to lvgl, please check again if this is needed with latest code on repo. Closing this for now, reopen it if needed. Check on esp-idf v4.4-release