Add custom types for position (#15204)

This commit is contained in:
Scott Lahteine
2019-09-29 04:25:39 -05:00
committed by GitHub
parent 43d6e9fa43
commit 50e4545255
227 changed files with 3147 additions and 3264 deletions

View File

@@ -44,13 +44,13 @@ typedef struct {
uint8_t valid_head;
// Machine state
float current_position[NUM_AXIS];
xyze_pos_t current_position;
#if HAS_HOME_OFFSET
float home_offset[XYZ];
xyz_pos_t home_offset;
#endif
#if HAS_POSITION_SHIFT
float position_shift[XYZ];
xyz_pos_t position_shift;
#endif
uint16_t feedrate;