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.
@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
…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.