Fixed issue with restoring spindle status for spindles making use optional spindle status flags. Ref. PR #673.

This commit is contained in:
Terje Io
2025-02-16 17:54:45 +01:00
parent b86a7d48f8
commit 46d2b0d367
5 changed files with 44 additions and 11 deletions

View File

@@ -348,6 +348,8 @@ bool spindle_set_state (spindle_ptrs_t *spindle, spindle_state_t state, float rp
// Called by g-code parser when setting spindle state and requires a buffer sync.
bool spindle_set_state_synced (spindle_ptrs_t *spindle, spindle_state_t state, float rpm);
bool spindle_check_state (spindle_ptrs_t *spindle, spindle_state_t state);
// Spindle speed calculation and limit handling
float spindle_set_rpm (spindle_ptrs_t *spindle, float rpm, override_t speed_override);