Changed spindle handling to allow dynamic spindle registration and support for multiple spindles selectable at run-time.

See the changelog for more info.
This commit is contained in:
Terje Io
2022-03-25 23:01:56 +01:00
parent 31f6a4bf04
commit dae7d56ab5
19 changed files with 448 additions and 200 deletions

View File

@@ -34,9 +34,11 @@
#endif
#if VFD_ENABLE
extern void vfd_init (void);
vfd_init();
#if DUAL_SPINDLE
#if VFD_ENABLE == 1 || VFD_ENABLE == 2 || VFD_ENABLE == -1
extern void vfd_huanyang_init (void);
vfd_huanyang_init();
#endif
#if N_SPINDLE > 1
extern void spindle_select_init(void);
spindle_select_init();
#endif