m5stack / TimerCam-arduino

TimerCam Arduino Library
MIT License
46 stars 26 forks source link

Initialize i2c_config_t #13

Closed mishak87 closed 7 months ago

mishak87 commented 1 year ago

Sets clk_flags to zero making it compatible with never versions of esp32 SDK

bmm8563_init() is broken

E (314902) i2c: i2c_param_config(684): i2c clock choice is invalid, please check flag and frequency
E (314902) err: esp_err_t = 258, line = 23
E (314903) i2c: i2c driver install error
E (314907) err: esp_err_t = -1, line = 24