Skip to content

Retries of initialization of PTH sensor now in loop instead of duplicate code #7

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a-schneider-fmi
Copy link

This commit rearranges duplicate code to retry the initialization of the PTH sensor into a do loop.

It also easily allows to retry the initialization more often. That the MS8607 sensor is not detected sporadically happens from the second message after switching on the AGT onwards. In such cases, it mostly can only be fixed by switching the device off and back on.

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