Skip to content

Conversation

tyeth
Copy link
Member

@tyeth tyeth commented Dec 17, 2024

Split out from wifi sorting pr, needed ideally (works without but wifi multi times out at 8seconds) before release of firmware version for #664

@tyeth tyeth force-pushed the WDT-RP2040-enable-after-wifi-connect branch 2 times, most recently from b093b99 to 39231b3 Compare December 17, 2024 23:26
@tyeth tyeth force-pushed the WDT-RP2040-enable-after-wifi-connect branch from 39231b3 to 2475f33 Compare December 17, 2024 23:36
@brentru brentru self-requested a review December 19, 2024 16:32
Copy link
Member

@brentru brentru left a 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.

// enable global WDT
// enable global WDT
#ifndef ARDUINO_ARCH_RP2040
WS.enableWDT(WS_WDT_TIMEOUT);
Copy link
Member

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()`

@tyeth tyeth requested a review from brentru December 20, 2024 18:49
@tyeth
Copy link
Member Author

tyeth commented Dec 20, 2024

@brentru this one too please (switched enableWDT to after wifi connect)

Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tyeth LGTM

@tyeth tyeth merged commit 8b62a09 into adafruit:main Dec 21, 2024
39 checks passed
@tyeth tyeth deleted the WDT-RP2040-enable-after-wifi-connect branch March 5, 2025 16:26
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