#include "libs/Kernel.h"
#include "modules/tools/laser/Laser.h"
-#include "modules/tools/spindle/Spindle.h"
+#include "modules/tools/spindle/SpindleMaker.h"
#include "modules/tools/extruder/ExtruderMaker.h"
#include "modules/tools/temperaturecontrol/TemperatureControlPool.h"
#include "modules/tools/endstops/Endstops.h"
kernel->add_module( new(AHB0) PlayLed() );
// these modules can be completely disabled in the Makefile by adding to EXCLUDE_MODULES
- #ifndef NO_TOOLS_ENDSTOPS
- kernel->add_module( new(AHB0) Endstops() );
- #endif
-
#ifndef NO_TOOLS_SWITCH
SwitchPool *sp= new SwitchPool();
sp->load_tools();
tp->load_tools();
delete tp;
#endif
+ #ifndef NO_TOOLS_ENDSTOPS
+ kernel->add_module( new(AHB0) Endstops() );
+ #endif
#ifndef NO_TOOLS_LASER
kernel->add_module( new Laser() );
#endif
#ifndef NO_TOOLS_SPINDLE
- kernel->add_module( new(AHB0) Spindle() );
+ SpindleMaker *sm= new SpindleMaker();
+ sm->load_spindle();
+ delete sm;
+ //kernel->add_module( new(AHB0) Spindle() );
#endif
#ifndef NO_UTILS_PANEL
kernel->add_module( new(AHB0) Panel() );