|
|
@ -2075,7 +2075,7 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
enqueue_and_echo_command(ubl_lcd_gcode);
|
|
|
|
enqueue_and_echo_command(ubl_lcd_gcode);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef DOGLCD
|
|
|
|
#if ENABLED(DOGLCD)
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* UBL LCD "radar" map data
|
|
|
|
* UBL LCD "radar" map data
|
|
|
@ -2086,8 +2086,8 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
#define MAP_MAX_PIXELS_Y 49
|
|
|
|
#define MAP_MAX_PIXELS_Y 49
|
|
|
|
|
|
|
|
|
|
|
|
void _lcd_ubl_plot_drawing_prep() {
|
|
|
|
void _lcd_ubl_plot_drawing_prep() {
|
|
|
|
uint8_t i, j, x_offset, y_offset, x_map_pixels, y_map_pixels;
|
|
|
|
uint8_t i, j, x_offset, y_offset, x_map_pixels, y_map_pixels,
|
|
|
|
uint8_t pixels_per_X_mesh_pnt, pixels_per_Y_mesh_pnt, inverted_y;
|
|
|
|
pixels_per_X_mesh_pnt, pixels_per_Y_mesh_pnt, inverted_y;
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************************/
|
|
|
|
/*********************************************************/
|
|
|
|
/************ Scale the box pixels appropriately *********/
|
|
|
|
/************ Scale the box pixels appropriately *********/
|
|
|
@ -2147,11 +2147,11 @@ void kill_screen(const char* lcd_msg) {
|
|
|
|
|
|
|
|
|
|
|
|
// Print plot position
|
|
|
|
// Print plot position
|
|
|
|
u8g.setPrintPos(5, 64);
|
|
|
|
u8g.setPrintPos(5, 64);
|
|
|
|
lcd_print("(");
|
|
|
|
lcd_print('(');
|
|
|
|
u8g.print(x_plot);
|
|
|
|
u8g.print(x_plot);
|
|
|
|
lcd_print(",");
|
|
|
|
lcd_print(',');
|
|
|
|
u8g.print(y_plot);
|
|
|
|
u8g.print(y_plot);
|
|
|
|
lcd_print(")");
|
|
|
|
lcd_print(')');
|
|
|
|
|
|
|
|
|
|
|
|
// Show the location value
|
|
|
|
// Show the location value
|
|
|
|
u8g.setPrintPos(74, 64);
|
|
|
|
u8g.setPrintPos(74, 64);
|
|
|
|