1
0
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:
Mitch Bradley
2021-05-26 09:01:39 -10:00
parent 6325a576b5
commit b0db24faf8
2 changed files with 2 additions and 2 deletions

View File

@@ -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() {

View File

@@ -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;