Skip to content

init DS1307RTC only if needed - #2740

Closed
Matoran wants to merge 1 commit into
wled:mainfrom
Matoran:patch-2
Closed

Matoran wants to merge 1 commit into
wled:mainfrom
Matoran:patch-2

Conversation

@Matoran

@Matoran Matoran commented Aug 6, 2022

Copy link
Copy Markdown
Contributor

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

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