royfengsss opened a new pull request, #15829: URL: https://github.com/apache/nuttx/pull/15829
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Please to https://github.com/apache/nuttx/pull/15433 cpuint was allocated when register wdt handler, but not deallocated when unregister, which cause debug assert when checking `DEBUGASSERT((*freeints & bitmask) == 0)`, so set cpuint to initial value after deallocate. This PR just cherry-picked the fix in esp32s3_wdt.c to esp32_wdt.c. ## Impact Impact watchdog handler register/unregister on ESP32 ## Testing same to https://github.com/apache/nuttx/pull/15433 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org