🚸 G33 R and O options (#22707)

This commit is contained in:
Luc Van Daele
2021-09-13 02:35:37 +02:00
committed by Scott Lahteine
parent 6e1c997a0a
commit 44d54a0d01
4 changed files with 40 additions and 63 deletions

View File

@ -88,8 +88,9 @@ void _man_probe_pt(const xy_pos_t &xy) {
}
void _goto_tower_a(const_float_t a) {
constexpr float dcr = DELTA_PRINTABLE_RADIUS;
xy_pos_t tower_vec = { cos(RADIANS(a)), sin(RADIANS(a)) };
_man_probe_pt(tower_vec * delta_calibration_radius());
_man_probe_pt(tower_vec * dcr);
}
void _goto_tower_x() { _goto_tower_a(210); }
void _goto_tower_y() { _goto_tower_a(330); }