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

add KNX_IP_DISABLE_WEBSERVER and KNX_IP_DISABLE_EEPROM #74

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

viknet365
Copy link

these two directive are usefull in environement where eeprom and webserver are managed by others

add KNX_IP_DISABLE_EEPROM directive to disable the read/write of the eeprom
this directive is sed to completely disable the webserver specially if in used elsewhere
the KNX_IP_DISABLE_WEBSERVER is used to completely disable the webserver
add the KNX_IP_DISABLE_WEBSERVER to completely disable the webserver
Copy link

@spacegaier spacegaier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@viknet365 Is there a reason why some #if guards are added inside the method body (which keeps the API stable independently of whether the #define is set or not) whereas for others are outside methods and therefore completely hide/remove them?

@viknet365
Copy link
Author

Hello @spacegaier, there are probably better way to do it, but I tried to : remove unused functions when disabling eeprom or webserver and remove line they are beeing called (this way it was easier to spot issues at compilation).

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

Successfully merging this pull request may close these issues.

None yet

2 participants