Fix various errors, warnings in example config builds (#19686)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@ -118,7 +118,7 @@ void lcd_delta_settings() {
|
||||
}
|
||||
|
||||
void menu_delta_calibrate() {
|
||||
const bool all_homed = all_axes_homed();
|
||||
TERN_(DELTA_CALIBRATION_MENU, const bool all_homed = all_axes_homed()); // Acquire ahead of loop
|
||||
|
||||
START_MENU();
|
||||
BACK_ITEM(MSG_MAIN);
|
||||
|
@ -188,11 +188,10 @@ void _lcd_ubl_edit_mesh() {
|
||||
*/
|
||||
void _lcd_ubl_validate_custom_mesh() {
|
||||
char ubl_lcd_gcode[24];
|
||||
const int16_t temp = TERN(HAS_HEATED_BED, custom_bed_temp, 0);
|
||||
sprintf_P(ubl_lcd_gcode, PSTR("G28\nG26 C P H%" PRIi16 TERN_(HAS_HEATED_BED, " B%" PRIi16))
|
||||
, custom_hotend_temp
|
||||
#if HAS_HEATED_BED
|
||||
, temp
|
||||
, custom_bed_temp
|
||||
#endif
|
||||
);
|
||||
queue.inject(ubl_lcd_gcode);
|
||||
|
Reference in New Issue
Block a user