Outsource global variables, Optimize comments

- outsource global variables and objects
    - move from config.hpp to global.cpp / hpp
    - rename config.hpp, thus change all includes
- re-arrange includes -> in source files instead of header

- optimize / make function comment titles more consistent
- optimize comments overall

- add several temporary files to gitignore
- fix unused variable compiler warnings
This commit is contained in:
jonny
2024-03-10 12:55:13 +01:00
parent 4c149a7743
commit 4aab1e1343
20 changed files with 203 additions and 145 deletions

14
.gitignore vendored
View File

@@ -1,15 +1,29 @@
# ESP-IDF default build directory
build
sdkconfig.old
dependencies.lock
# VIM files
*.swp
*.swo
**/.cache
# VS-code
settings.json
# drawio files
*.bkp
# freecad backup files
*.FCStd1
*.FCBak
# stl files are usually temporary
*.stl
# kicad backup files
pcb/*/*backups/
# other
octave-workspace
del
screenshots