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

Small improvements #74

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

Conversation

Laxilef
Copy link
Contributor

@Laxilef Laxilef commented Dec 30, 2024

Hi @ihormelnyk,

I added something that might be useful when extending:

  1. Ability to override OpenTherm::sendRequest(). Since it is used in other methods (OpenTherm::setBoilerStatus() and others), without virtual its logic cannot be changed
  2. With inheritance private adds problems in development, so I suggest changing it to protected

And I think it would be correct to set the out pin state to LOW when calling OpenTherm::end().
What do you think about these changes? Thanks.

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.

1 participant