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

init DS1307RTC only if needed #2740

Closed
wants to merge 1 commit into from
Closed

init DS1307RTC only if needed #2740

wants to merge 1 commit into from

Conversation

Matoran
Copy link
Contributor

@Matoran Matoran commented Aug 6, 2022

DS1307RTC is only required by USERMOD_RTC and USERMOD_ELEKSTUBE_IPS.
If we don't use it, we do not want to execute Wire.begin(); which configure gpio port 21 et 22 as I2C ports. This created a regression as it was possible to use gpio 21 and 22 for relays.

DS1307RTC is only required by USERMOD_RTC and USERMOD_ELEKSTUBE_IPS.
If we don't use it, we do not want to execute `Wire.begin();` which configure gpio port 21 et 22 as I2C ports. This created a regression as it was possible to use gpio 21 and 22 for relays.
@blazoncek
Copy link
Collaborator

Hopefully solved in #2737

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