no points on first row for new xyz cal. version,
waiting for user to press knob on found points when verbosity level >=20
This commit is contained in:
parent
f1410a37f2
commit
5254044816
|
|
@ -104,10 +104,17 @@ const float bed_ref_points[] PROGMEM = {
|
||||||
|
|
||||||
static inline float sqr(float x) { return x * x; }
|
static inline float sqr(float x) { return x * x; }
|
||||||
|
|
||||||
|
#ifdef HEATBED_V2
|
||||||
static inline bool point_on_1st_row(const uint8_t i)
|
static inline bool point_on_1st_row(const uint8_t i)
|
||||||
{
|
{
|
||||||
return (i < 2);
|
return false;
|
||||||
}
|
}
|
||||||
|
#else //HEATBED_V2
|
||||||
|
static inline bool point_on_1st_row(const uint8_t i)
|
||||||
|
{
|
||||||
|
return (i < 3);
|
||||||
|
}
|
||||||
|
#endif //HEATBED_V2
|
||||||
|
|
||||||
// Weight of a point coordinate in a least squares optimization.
|
// Weight of a point coordinate in a least squares optimization.
|
||||||
// The first row of points may not be fully reachable
|
// The first row of points may not be fully reachable
|
||||||
|
|
@ -1152,8 +1159,12 @@ inline bool find_bed_induction_sensor_point_xy(int verbosity_level)
|
||||||
}
|
}
|
||||||
#endif // SUPPORT_VERBOSITY
|
#endif // SUPPORT_VERBOSITY
|
||||||
go_xy(current_position[X_AXIS], current_position[Y_AXIS], feedrate);
|
go_xy(current_position[X_AXIS], current_position[Y_AXIS], feedrate);
|
||||||
lcd_show_fullscreen_message_and_wait_P(PSTR("Final position"));
|
#ifdef SUPPORT_VERBOSITY
|
||||||
lcd_update_enable(true);
|
if (verbosity_level >= 20) {
|
||||||
|
lcd_show_fullscreen_message_and_wait_P(PSTR("Final position"));
|
||||||
|
lcd_update_enable(true);
|
||||||
|
}
|
||||||
|
#endif //SUPPORT_VERBOSITY
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue