merge with upstream cleanup
This commit is contained in:
parent
33f9af65c8
commit
6e760ef76d
|
|
@ -3364,7 +3364,8 @@ void process_commands()
|
||||||
}
|
}
|
||||||
else if (code_seen("thx")) {
|
else if (code_seen("thx")) {
|
||||||
no_response = false;
|
no_response = false;
|
||||||
} else if (code_seen("RESET")) {
|
}
|
||||||
|
else if (code_seen("RESET")) {
|
||||||
// careful!
|
// careful!
|
||||||
if (farm_mode) {
|
if (farm_mode) {
|
||||||
#ifdef WATCHDOG
|
#ifdef WATCHDOG
|
||||||
|
|
|
||||||
|
|
@ -5205,13 +5205,18 @@ void extr_adj(int extruder) //loading filament for SNMM
|
||||||
fprintf_P(uart2io, PSTR("L%d\n"), extruder);
|
fprintf_P(uart2io, PSTR("L%d\n"), extruder);
|
||||||
|
|
||||||
//show which filament is currently loaded
|
//show which filament is currently loaded
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lcd_update_enable(false);
|
lcd_update_enable(false);
|
||||||
lcd_implementation_clear();
|
lcd_clear();
|
||||||
lcd.setCursor(0, 1); lcd_printPGM(_T(MSG_LOADING_FILAMENT));
|
lcd_set_cursor(0, 1); lcd_puts_P(_T(MSG_LOADING_FILAMENT));
|
||||||
//if(strlen(_T(MSG_LOADING_FILAMENT))>18) lcd.setCursor(0, 1);
|
//if(strlen(_T(MSG_LOADING_FILAMENT))>18) lcd.setCursor(0, 1);
|
||||||
//else lcd.print(" ");
|
//else lcd.print(" ");
|
||||||
lcd.print(" ");
|
lcd_print(" ");
|
||||||
lcd.print(snmm_extruder + 1);
|
lcd_print(snmm_extruder + 1);
|
||||||
|
|
||||||
// get response
|
// get response
|
||||||
uart2_rx_clr();
|
uart2_rx_clr();
|
||||||
|
|
@ -5279,10 +5284,10 @@ void extr_unload() { //unloads filament
|
||||||
|
|
||||||
//show which filament is currently unloaded
|
//show which filament is currently unloaded
|
||||||
lcd_update_enable(false);
|
lcd_update_enable(false);
|
||||||
lcd_implementation_clear();
|
lcd_clear();
|
||||||
lcd.setCursor(0, 1); lcd_printPGM(_T(MSG_UNLOADING_FILAMENT));
|
lcd_set_cursor(0, 1); lcd_puts_P(_T(MSG_UNLOADING_FILAMENT));
|
||||||
lcd.print(" ");
|
lcd_print(" ");
|
||||||
lcd.print(snmm_extruder + 1);
|
lcd_print(snmm_extruder + 1);
|
||||||
|
|
||||||
current_position[E_AXIS] -= 80;
|
current_position[E_AXIS] -= 80;
|
||||||
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 2500 / 60, active_extruder);
|
plan_buffer_line(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS], 2500 / 60, active_extruder);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue