neu-rah/ArduinoMenu

error: reference to 'config' is ambiguous

IvanBayan opened this issue · 0 comments

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;