planner.h

changeset 1
b584642d4f58
parent 0
2c8ba1964db7
--- a/planner.h	Sat Nov 07 13:23:07 2015 +0100
+++ b/planner.h	Sat Nov 07 13:24:46 2015 +0100
@@ -61,6 +61,8 @@
   unsigned long acceleration_st;                     // acceleration steps/sec^2
   unsigned long fan_speed;
   volatile char busy;
+
+  bool laser_on;
 } block_t;
 
 // Initialize the motion plan subsystem      
@@ -68,7 +70,7 @@
 
 // Add a new linear movement to the buffer. x, y and z is the signed, absolute target position in 
 // millimaters. Feed rate specifies the speed of the motion.
-void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t &extruder);
+void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t &extruder, bool laser_on);
 
 // Set position. Used for G92 instructions.
 void plan_set_position(const float &x, const float &y, const float &z, const float &e);

mercurial