Skip to content

max17048 i2c conflicting declaration (AEGHB-1107) #528

@michaelboeding

Description

@michaelboeding

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

When trying to use the max17048 component the below pops up and prevents me from building. There seems to be a setting but I can't seem to toggle it in the Bus Config - see image below.

I am running ESP-IDF version 5.3.1 so I think it should allow me to turn this on?

Image
../managed_components/espressif__i2c_bus/include/i2c_bus.h: At global scope:
../managed_components/espressif__i2c_bus/include/i2c_bus.h:53:3: error: conflicting declaration 'typedef struct i2c_config_t i2c_config_t'
   53 | } i2c_config_t;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions