#define KERNEL_H
#define THEKERNEL Kernel::instance
+#define THECONVEYOR THEKERNEL->conveyor
+#define THEROBOT THEKERNEL->robot
#include "Module.h"
#include <array>
class StreamOutputPool;
class GcodeDispatch;
class Robot;
-class Stepper;
class Planner;
class StepTicker;
class Adc;
void register_for_event(_EVENT_ENUM id_event, Module *module);
void call_event(_EVENT_ENUM id_event, void * argument= nullptr);
- bool kernel_has_event(_EVENT_ENUM id_event, Module *mod);
+ bool kernel_has_event(_EVENT_ENUM id_event, Module *module);
void unregister_for_event(_EVENT_ENUM id_event, Module *module);
bool is_using_leds() const { return use_leds; }
StreamOutputPool* streams;
GcodeDispatch* gcode_dispatch;
Robot* robot;
- Stepper* stepper;
Planner* planner;
Config* config;
Conveyor* conveyor;