Renamed menu.ino to menu.cpp

This change required lots of other changes to have it compile. I had to declare all variables from NuEVI.ino used by the menu as extern in a separate header file (globals.h).
Also I moved all defines from NuEVI.ino to a config.h file. I think some of these could be moved back or even moved into menu.cpp.
I declared many variables and functions in menu.cpp as static and moved them around to avoid forward declarations. For simplicity I did some forward declarations anyway.
Some varibles only used in menu.cpp was moved from NuEVI.ino instead of having them as externals.
This commit is contained in:
Mikael Degerfält 2019-06-03 19:24:21 +02:00
parent f0010cb08c
commit 4bf2a3a91e
5 changed files with 1643 additions and 1451 deletions

3855
NuEVI/menu.cpp Normal file

File diff suppressed because it is too large Load diff