mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 10:53:01 +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("verbose_errors", _verboseErrors);
|
||||
handler.handle("report_inches", _reportInches);
|
||||
// Spindles::SpindleFactory::handle(handler, _spindle);
|
||||
handler.handle("homing_init_lock", _homingInitLock);
|
||||
Spindles::SpindleFactory::handle(handler, _spindle);
|
||||
}
|
||||
|
||||
void MachineConfig::afterParse() {
|
||||
|
@@ -40,7 +40,7 @@
|
||||
|
||||
namespace Spindles {
|
||||
// This is the base class. Do not use this as your spindle
|
||||
class Spindle : Configuration::Configurable {
|
||||
class Spindle : public Configuration::Configurable {
|
||||
public:
|
||||
Spindle() = default;
|
||||
|
||||
|
Reference in New Issue
Block a user