Skip to content

Commit

Permalink
Multispindle: Remove some debugging printf that were left in by accid…
Browse files Browse the repository at this point in the history
…ent.

Signed-off-by: andy pugh <andy@bodgesoc.org>
  • Loading branch information
andypugh committed Nov 1, 2018
1 parent 062d7d2 commit a2b06c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/emc/task/emccanon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1836,9 +1836,8 @@ void START_SPINDLE_COUNTERCLOCKWISE(int s, int wait_for_atspeed)
void SET_SPINDLE_SPEED(int s, double r)
{
// speed is in RPMs everywhere
for (int i = 0; i < 3; i++) {printf("Before: spindle %i speed %f\n", i, canon.spindle[i].speed) ;}

canon.spindle[s].speed = fabs(r); // interp will never send negative anyway ...
for (int i = 0; i < 3; i++) {printf("After: spindle %i speed %f\n", i, canon.spindle[i].speed) ;}

EMC_SPINDLE_SPEED emc_spindle_speed_msg;

Expand Down

0 comments on commit a2b06c4

Please sign in to comment.