mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-03 03:13:25 +02:00
Fixed bug that prevented spindle config from compiling
This commit is contained in:
@@ -379,8 +379,8 @@ void MachineConfig::handle(Configuration::HandlerBase& handler) {
|
|||||||
handler.handle("junction_deviation", _junctionDeviation);
|
handler.handle("junction_deviation", _junctionDeviation);
|
||||||
handler.handle("verbose_errors", _verboseErrors);
|
handler.handle("verbose_errors", _verboseErrors);
|
||||||
handler.handle("report_inches", _reportInches);
|
handler.handle("report_inches", _reportInches);
|
||||||
// Spindles::SpindleFactory::handle(handler, _spindle);
|
|
||||||
handler.handle("homing_init_lock", _homingInitLock);
|
handler.handle("homing_init_lock", _homingInitLock);
|
||||||
|
Spindles::SpindleFactory::handle(handler, _spindle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MachineConfig::afterParse() {
|
void MachineConfig::afterParse() {
|
||||||
|
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
namespace Spindles {
|
namespace Spindles {
|
||||||
// This is the base class. Do not use this as your spindle
|
// This is the base class. Do not use this as your spindle
|
||||||
class Spindle : Configuration::Configurable {
|
class Spindle : public Configuration::Configurable {
|
||||||
public:
|
public:
|
||||||
Spindle() = default;
|
Spindle() = default;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user