Define to disable ON/OFF beeps / optimisations#66
Define to disable ON/OFF beeps / optimisations#66EmerickH wants to merge 6 commits intobipropellant:masterfrom
Conversation
|
Is there a need to speed up the main loop? I'd rather eliminate all the preprocessor switches than add new ones. |
|
Whoops, just wanted to make a PR to your branch but commited directly by accident (why do I even have the right to do that? ;) ) Anyways, changed your platformio.ini to be compatible to the new config structure. |
|
Yes also did this exact change but not pushed it yet. |
|
I guess @btsimonh and I developed a heavy dislike against using preprocessor switches in the last months ;) Lots of (maybe) dead code and too many possible configurations which can interfere. Impossible to test. By putting everything in variables and having a runtime config you can still set the options while flashing. As soon as the "magic" changes, defaults are used. |
In this PR:
instead of
for example