espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.84k stars 7.32k forks source link

官方文档关于iic教程中有一处错误 (IDFGH-13963) #14794

Closed Bendikos closed 1 week ago

Bendikos commented 4 weeks ago

Answers checklist.

General issue report

ESP_ERROR_CHECK(i2c_master_bus_add_device(I2C_PORT_NUM_0, &dev_cfg, &dev_handle));

I2C_PORT_NUM_0 应该改成 bus_handle

link