Hello,
Just updated espidf in platformio version 6.10.0, and I get the following error at compile time, in debug mode:
C:\Users\Utilisateur\.platformio\packages\framework-espidf\components\esp_driver_i2c\i2c_master.c:871:23: error: 'ops_current' may be used uninitialized [-Werror=maybe-uninitialized]
871 | i2c_queue_pre = (i2c_transaction_t) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
872 | .device_address = i2c_dev->device_address,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
873 | .ops = ops_current,
| ~~~~~~~~~~~~~~~~~~~
874 | .cmd_count = ops_dim,
| ~~~~~~~~~~~~~~~~~~~~~
875 | };
| ~
C:\Users\Utilisateur\.platformio\packages\framework-espidf\components\esp_driver_i2c\i2c_master.c:846:26: note: 'ops_current' was declared here
846 | i2c_operation_t *ops_current;
| ^~~~~~~~~~~
I can fix the code, initializing the stuff... but why?
Error compiling a fresh update of espidf / Platformio : i2c_master.c
Who is online
Users browsing this forum: No registered users and 5 guests