-
Notifications
You must be signed in to change notification settings - Fork 50
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
RP2040 WDT=8.3secs - enable after wifi connect #670
RP2040 WDT=8.3secs - enable after wifi connect #670
Conversation
b093b99
to
39231b3
Compare
39231b3
to
2475f33
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small feedback, looks good. Please ping me when addressed.
src/Wippersnapper.cpp
Outdated
@@ -2748,8 +2748,10 @@ void Wippersnapper::connect() { | |||
// Dump device info to the serial monitor | |||
printDeviceInfo(); | |||
|
|||
// enable global WDT | |||
// enable global WDT | |||
#ifndef ARDUINO_ARCH_RP2040 | |||
WS.enableWDT(WS_WDT_TIMEOUT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider moving this guard into the enableWDT()
call, so we aren't ifndef''ing each time we call
enableWDT()`
@brentru this one too please (switched enableWDT to after wifi connect) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tyeth LGTM
Split out from wifi sorting pr, needed ideally (works without but wifi multi times out at 8seconds) before release of firmware version for #664