Added optional spindle select event to core events, for dual spindle enabled configurations (VFD + PWM spindle).

Attempted fix for weird issue with VFD spindle when spindle at speed tolerance is set > 0 with $340.
This commit is contained in:
Terje Io
2022-01-09 22:11:57 +01:00
parent 0aeb53883b
commit 22e0fcba1c
13 changed files with 85 additions and 35 deletions

View File

@@ -7,7 +7,7 @@
Part of grblHAL
Copyright (c) 2021 Terje Io
Copyright (c) 2021-2022 Terje Io
Grbl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -36,6 +36,10 @@
#if VFD_ENABLE
extern void vfd_init (void);
vfd_init();
#if DUAL_SPINDLE
extern void spindle_select_init(void);
spindle_select_init();
#endif
#endif
#ifndef GRBL_ESP32 // ESP32 has its own bluetooth_init