Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: reference to 'config' is ambiguous #420

Open
IvanBayan opened this issue Jun 22, 2023 · 0 comments
Open

error: reference to 'config' is ambiguous #420

IvanBayan opened this issue Jun 22, 2023 · 0 comments

Comments

@IvanBayan
Copy link

IvanBayan commented Jun 22, 2023

Not sure if I do something wrong, but looks like ArduinoMenu defines global structure with name 'config' that makes name 'config' unusable.

In file included from .pio/libdeps/esp12e/ArduinoMenu library/src/nav.h:4,
                 from src/inputs.cpp:7:
.pio/libdeps/esp12e/ArduinoMenu library/src/menuBase.h:198:12: note: candidates are: 'struct Menu::config'
  198 |     struct config {
      |            ^~~~~~
src/inputs.cpp:16:15: note:                 'Config config'
   16 | extern Config config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant