HCoop
/
clinton
/
Smoothieware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactors
[clinton/Smoothieware.git]
/
src
/
libs
/
Kernel.h
diff --git
a/src/libs/Kernel.h
b/src/libs/Kernel.h
index
77398fc
..
4a2feb7
100644
(file)
--- a/
src/libs/Kernel.h
+++ b/
src/libs/Kernel.h
@@
-9,6
+9,8
@@
#define KERNEL_H
#define THEKERNEL Kernel::instance
#define KERNEL_H
#define THEKERNEL Kernel::instance
+#define THECONVEYOR THEKERNEL->conveyor
+#define THEROBOT THEKERNEL->robot
#include "Module.h"
#include <array>
#include "Module.h"
#include <array>
@@
-24,7
+26,6
@@
class SerialConsole;
class StreamOutputPool;
class GcodeDispatch;
class Robot;
class StreamOutputPool;
class GcodeDispatch;
class Robot;
-class Stepper;
class Planner;
class StepTicker;
class Adc;
class Planner;
class StepTicker;
class Adc;
@@
-60,7
+61,6
@@
class Kernel {
StreamOutputPool* streams;
GcodeDispatch* gcode_dispatch;
Robot* robot;
StreamOutputPool* streams;
GcodeDispatch* gcode_dispatch;
Robot* robot;
- Stepper* stepper;
Planner* planner;
Config* config;
Conveyor* conveyor;
Planner* planner;
Config* config;
Conveyor* conveyor;