Releases: GeneralEmbeddedCLibraries/watchdog
Releases · GeneralEmbeddedCLibraries/watchdog
Release list
V2.0.0
V2.0.0 - 29.07.2026
Changed
- Breaking:
wdt_is_initnow returns the initialization flag directly (bool) instead of via status + output pointer - Breaking:
wdt_task_get_enablenow returns the task enable state directly (bool) instead of via status + output pointer - Task time pass calculation now uses unsigned wraparound arithmetic instead of the platform-specific
int32_tworkaround wdt_task_set_enableonly updates state when the enable flag actually changesWDT_CFG_MIN_TIMEOUT_TIME_MS/WDT_CFG_MAX_TIMEOUT_TIME_MSare nowuint32_t(ms) and enforced against the configuration table on init- Include guards renamed to drop the reserved leading double underscore (
__WDT_H->WDT_H, etc.)
Fixed
wdt_task_get_enableno longer returnstrueon an error path (uninitialized module / invalid task index previously coerced totrue)wdt_if_initno longer runs the low-level watchdog init after a failed mutex create, which previously overwrote the error statusWDT_CFG_DEBUG_ENis now forced off outsideDEBUGbuilds- Discarded return values (
wdt_if_kick,wdt_if_release_mutex,osMutexRelease) are now explicitly(void)-cast with rationale comments g_wdt_mutex_attrgiven internal linkage (static)- Removed dead commented-out code and stale
TODO
V1.2.0
V1.1.0
V1.1.0 - 27.08.2023
Added
- Replace old "version.txt" with this changelog
Changed
- Updated readme, adding details of statistics
- Hiding configuration data type
- Removed doxygen as it is replaced README.md
Todo
- ISR support before reset event
- Replace OS mutex with simple lock inside module