7d0755c55b7eeef2217fae77a217770595dae422
- Blocking hooks (block_unpause: true, default for tool-change) run in a background thread and gate Mach.unpause() via can_unpause() - Machine stays in HOLDING state while hook runs — AVR steppers idle, spindle state preserved, position locked - auto_resume option to unpause automatically after hook completes - E-stop cancels any running hook immediately - Hook status pushed to frontend via state (hook_busy, hook_event) - GET /api/hooks/status endpoint for polling - Non-blocking hooks (program-start, program-end, etc.) fire-and-forget
#OneFinity CNC Controller Firmware
Languages
C
37.4%
JavaScript
22.5%
Python
22.5%
Pug
5.3%
Svelte
4%
Other
8.2%