Skip to content

Conversation

@willmmiles
Copy link
Member

Fix a newbie mistake: avoid reconfiguring the device during web server context, which can trigger a yield() during the I2C operations. Instead defer the device initialization to a loop() call.

Avoid reconfiguring the device during web server context, which can
trigger a yield().  Instead defer the device initialization to loop().
@blazoncek blazoncek merged commit 4ab2c90 into wled:0_15 Jul 10, 2024
@willmmiles willmmiles deleted the mpu6050-crash-fix branch July 14, 2024 15:39
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