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

boot-up delay to fix wifi not starting in some setups #4060

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

DedeHai
Copy link
Collaborator

@DedeHai DedeHai commented Jul 17, 2024

adding a new #define option to allow users to add a delay before hardware init
use
-D WLED_BOOTUPDELAY=500
in platformio env definition to add 500ms of delay before hardware init

the idea is to let power stabilise for a little longer before hardware initialisation, this seems to help with some setups that have issues with wifi not connecting at bootup. On two of my setups that have issues with wifi at boot, this helps.

use
-D WLED_BOOTUPDELAY=500
in platformio env definition to add 500ms of delay before hardware init.
@softhack007
Copy link
Collaborator

@DedeHai thanks,

It looks like you picked the wrong branch - could you redo your PR and make it against our 0_15 branch, instead of targeting main?

@blazoncek blazoncek changed the base branch from main to 0_15 July 17, 2024 20:01
@softhack007
Copy link
Collaborator

softhack007 commented Jul 17, 2024

@blazoncek thanks for the rebase 👍

From my side - OK to merge 👍

@softhack007 softhack007 merged commit 42decbd into Aircoookie:0_15 Jul 22, 2024
18 checks passed
softhack007 added a commit to MoonModules/WLED that referenced this pull request Jul 26, 2024
boot-up delay to fix wifi not starting in some setups

use
`-D WLED_BOOTUPDELAY=500` (or some other delay you want, in milliseconds)
in platformio env definition to add 500ms of delay before hardware init.
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