Quantcast
Channel: Reprap Forum - Repetier
Viewing all articles
Browse latest Browse all 1321

Proposed improvement: change homing offsets to milimeters (2 replies)

$
0
0
Improvement suggestion:

Change:
#define DELTA_X_ENDSTOP_OFFSET_STEPS 0
#define DELTA_Y_ENDSTOP_OFFSET_STEPS 0
#define DELTA_Z_ENDSTOP_OFFSET_STEPS 0
to:

#define DELTA_X_ENDSTOP_OFFSET_STEPS 0.0*AXIS_STEPS_PER_MM
#define DELTA_Y_ENDSTOP_OFFSET_STEPS 0.0*AXIS_STEPS_PER_MM
#define DELTA_Z_ENDSTOP_OFFSET_STEPS 0.0*AXIS_STEPS_PER_MM

unless, of course, floats are an issue.

I'm not too familiar with the C syntax, but I'm assuming we will have to convert the number to an int before using it later in the code.

I can go ahead and open a git pull request, but thought it better to discuss first.

Viewing all articles
Browse latest Browse all 1321

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>