Whilst getting this code to build in VSCode using Espressif , The code would not build as comd0 was not defined.
C:/ESP-IDF/M5Dial-UserDemo-main/components/LovyanGFX/src/lgfx/v1/platforms/esp32/common.cpp:653:14: error: 'struct i2c_dev_t' has no member named 'comd0'; did you mean 'comd'?
653 | (&dev->comd0)[index].val = cmd_val;
| ^~~~~
| comd
ninja: build stopped: subcommand failed.
Updating the #if as below fixed the build issue...
Whilst getting this code to build in VSCode using Espressif , The code would not build as comd0 was not defined.
Updating the #if as below fixed the build issue...
I realise that this is in a library that has just been cloned into your repo. I've checked the source repo and it needs updating there.