Preserve stalled USB recovery after a cancelled watchdog reboot

Restart the retry interval without treating queue cleanup as completed USB transmission. Cover cancellation journals, fresh recovery deadlines, real progress and rollover, with historical policy and runtime negative controls.
This commit is contained in:
mikecarper committed 2026-10-16 19:25:15 -07:00
1 parent 0dcba50d88
commit 31a53b1f4a
4 files changed
+245 -9

No files matched your search

+2 -1
View File
@@ -111,7 +111,8 @@ class UsbLoggingWatchdogPolicy {
void restartInterval() {
_stage = 0;
_fault_since = _now;
_need_progress = false;
// Restarting after a veto is not evidence of transport completion.
// Only update() clears a latched stall after real TX progress.
}
uint8_t backoffStep() const { return _step; }
uint8_t stage() const { return _stage; }