- Replace safety.c's direct IWDG initialization with watchdog module API - Use watchdog_init(2000) for ~2s timeout in safety_init() - Use watchdog_kick() in safety_refresh() to feed the watchdog - Remove unused watchdog_get_divider() helper function - Watchdog now configured with automatic prescaler selection The watchdog module provides a clean, flexible IWDG interface that: - Automatically calculates prescaler and reload values - Detects watchdog-triggered resets via watchdog_was_reset_by_watchdog() - Supports timeout range of ~1ms to ~32 seconds - Integrates seamlessly with existing safety system Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Merge pull request 'feat: MageDok 7in display setup for Orin (Issue #369)' (#373) from sl-webui/issue-369-display-setup into main
Description
SaltyLab self-balancing bot firmware (STM32F722)
Languages
Python
67.1%
C
11.4%
JavaScript
9.2%
OpenSCAD
7.8%
HTML
1.5%
Other
2.9%