Move dwell to gcode

This commit is contained in:
Scott Lahteine committed 2017-09-21 16:26:48 -05:00
1 parent 4f1eadf41f
commit 51f195e698
7 files changed
+25 -20

No files matched your search

+2 -2
View File
@@ -52,10 +52,10 @@
*/
// Wait for spindle to come up to speed
inline void delay_for_power_up() { dwell(SPINDLE_LASER_POWERUP_DELAY); }
inline void delay_for_power_up() { gcode.dwell(SPINDLE_LASER_POWERUP_DELAY); }
// Wait for spindle to stop turning
inline void delay_for_power_down() { dwell(SPINDLE_LASER_POWERDOWN_DELAY); }
inline void delay_for_power_down() { gcode.dwell(SPINDLE_LASER_POWERDOWN_DELAY); }
/**
* ocr_val_mode() is used for debugging and to get the points needed to compute the RPM vs ocr_val line