[PR #94] [MERGED] Stability fix with a refactor of how processing is done #195

Closed
opened 2026-10-22 05:07:25 +00:00 by roman · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/safijari/openpuck/pull/94
Author: @safijari
Created: 6/30/2026
Status: ✅ Merged
Merged: 7/1/2026
Merged by: @safijari

Base: main ← Head: stability-fix-refactor


📝 Commits (10+)

  • 1a968ef Possibly better
  • bd147fe Increase TUD_TASK_QUEUE_SZ=64 to protect against disconnects
  • bd472e2 refactor
  • 84eb2e9 Make one device being disconnected less catastrophic
  • fc1258d down to 2 seconds
  • 2a3bb2c Easier make
  • d2afc7c flash cmd
  • 2bd315e Merge stability-fix: high-water-mark mounting, 2s ReversePuck hold + drawn icons, make build/flash tooling
  • 5271a29 refactor working
  • 0f014e8 refactor stable but polling rate still low

📊 Changes

32 files changed (+2301 additions, -213 deletions)

View changed files

📝 .github/workflows/build.yml (+1 -1)
📝 .github/workflows/release.yml (+2 -2)
➕ CODE_MAP.md (+487 -0)
📝 Makefile (+58 -1)
📝 OpenPuck/OpenPuck.ino (+57 -2)
📝 OpenPuck/config.cpp (+13 -2)
➕ OpenPuck/fault_diag.cpp (+305 -0)
➕ OpenPuck/fault_diag.h (+89 -0)
📝 OpenPuck/haptics.cpp (+77 -12)
📝 OpenPuck/haptics.h (+25 -7)
📝 OpenPuck/mode_hidgyro.cpp (+2 -1)
📝 OpenPuck/mode_lizard.cpp (+6 -5)
📝 OpenPuck/mode_ps5.cpp (+2 -1)
📝 OpenPuck/mode_switch_hori.cpp (+3 -2)
📝 OpenPuck/mode_switch_pro.cpp (+4 -3)
📝 OpenPuck/mode_xinput.cpp (+33 -4)
📝 OpenPuck/puck_hid.cpp (+30 -9)
📝 OpenPuck/rf_diag.cpp (+4 -1)
📝 OpenPuck/rf_link.cpp (+93 -10)
📝 OpenPuck/rf_link.h (+14 -2)

...and 12 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/safijari/openpuck/pull/94 **Author:** [@safijari](https://github.com/safijari) **Created:** 6/30/2026 **Status:** ✅ Merged **Merged:** 7/1/2026 **Merged by:** [@safijari](https://github.com/safijari) **Base:** `main` ← **Head:** `stability-fix-refactor` --- ### 📝 Commits (10+) - [`1a968ef`](https://github.com/safijari/openpuck/commit/1a968ef48b3949bc3946ba47e27570818cffaa20) Possibly better - [`bd147fe`](https://github.com/safijari/openpuck/commit/bd147fef9e8fb76439b06e7e52b0e0544a238ac5) Increase TUD_TASK_QUEUE_SZ=64 to protect against disconnects - [`bd472e2`](https://github.com/safijari/openpuck/commit/bd472e2ea1d15d568eaef756dbef4f42f93c5220) refactor - [`84eb2e9`](https://github.com/safijari/openpuck/commit/84eb2e99b7cc728a3d5da3d1388cdbd64c8c4289) Make one device being disconnected less catastrophic - [`fc1258d`](https://github.com/safijari/openpuck/commit/fc1258dd2d8b46e2ee2b4fe1b3093a1548452d95) down to 2 seconds - [`2a3bb2c`](https://github.com/safijari/openpuck/commit/2a3bb2cc7569cd98579ede42fd7a9ab351fcc0a0) Easier make - [`d2afc7c`](https://github.com/safijari/openpuck/commit/d2afc7cd238c9f02f9bb3a02aff21a64c38ffbb9) flash cmd - [`2bd315e`](https://github.com/safijari/openpuck/commit/2bd315e91d0c294a040b09ad1d1c5505a489ac89) Merge stability-fix: high-water-mark mounting, 2s ReversePuck hold + drawn icons, make build/flash tooling - [`5271a29`](https://github.com/safijari/openpuck/commit/5271a29dfbdeafbe04664d706f86a8eea8b8ff9a) refactor working - [`0f014e8`](https://github.com/safijari/openpuck/commit/0f014e811683d33a76d11719cd77f09719ec49f1) refactor stable but polling rate still low ### 📊 Changes **32 files changed** (+2301 additions, -213 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+1 -1) 📝 `.github/workflows/release.yml` (+2 -2) ➕ `CODE_MAP.md` (+487 -0) 📝 `Makefile` (+58 -1) 📝 `OpenPuck/OpenPuck.ino` (+57 -2) 📝 `OpenPuck/config.cpp` (+13 -2) ➕ `OpenPuck/fault_diag.cpp` (+305 -0) ➕ `OpenPuck/fault_diag.h` (+89 -0) 📝 `OpenPuck/haptics.cpp` (+77 -12) 📝 `OpenPuck/haptics.h` (+25 -7) 📝 `OpenPuck/mode_hidgyro.cpp` (+2 -1) 📝 `OpenPuck/mode_lizard.cpp` (+6 -5) 📝 `OpenPuck/mode_ps5.cpp` (+2 -1) 📝 `OpenPuck/mode_switch_hori.cpp` (+3 -2) 📝 `OpenPuck/mode_switch_pro.cpp` (+4 -3) 📝 `OpenPuck/mode_xinput.cpp` (+33 -4) 📝 `OpenPuck/puck_hid.cpp` (+30 -9) 📝 `OpenPuck/rf_diag.cpp` (+4 -1) 📝 `OpenPuck/rf_link.cpp` (+93 -10) 📝 `OpenPuck/rf_link.h` (+14 -2) _...and 12 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
roman 2026-10-22 05:07:25 +00:00
Sign in to join this conversation.
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
safijari/openpuck#195
No description provided.