Fix up tests, warnings
This commit is contained in:
@ -192,8 +192,8 @@ void GcodeSuite::M48() {
|
||||
// Choose the next position as an offset to chosen test position
|
||||
const xy_pos_t noz_pos = test_position - probe.offset_xy;
|
||||
xy_pos_t next_pos = {
|
||||
noz_pos.x + cos(RADIANS(angle)) * radius,
|
||||
noz_pos.y + sin(RADIANS(angle)) * radius
|
||||
noz_pos.x + float(cos(RADIANS(angle))) * radius,
|
||||
noz_pos.y + float(sin(RADIANS(angle))) * radius
|
||||
};
|
||||
|
||||
#if ENABLED(DELTA)
|
||||
|
@ -705,7 +705,7 @@ namespace ExtUI {
|
||||
|
||||
#if ENABLED(BABYSTEP_ZPROBE_OFFSET)
|
||||
// Make it so babystepping in Z adjusts the Z probe offset.
|
||||
if (axis == Z && TERN1(HAS_MULTI_EXTRUDER, linked_nozzles || active_extruder == 0))
|
||||
if (axis == Z && TERN1(HAS_MULTI_EXTRUDER, (linked_nozzles || active_extruder == 0)))
|
||||
probe.offset.z += mm;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user