Skip to content

add KNX_IP_DISABLE_WEBSERVER and KNX_IP_DISABLE_EEPROM#74

Open
viknet365 wants to merge 6 commits intoenvy:masterfrom
viknet365:master
Open

add KNX_IP_DISABLE_WEBSERVER and KNX_IP_DISABLE_EEPROM#74
viknet365 wants to merge 6 commits intoenvy:masterfrom
viknet365:master

Conversation

@viknet365
Copy link
Copy Markdown

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
Copy Markdown

@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
Copy Markdown
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.

2 participants