Skip to content

Commit

Permalink
Sync with upstream
Browse files Browse the repository at this point in the history
Fix rebase issues
  • Loading branch information
leptun authored and 3d-gussner committed Aug 2, 2023
1 parent 5e46014 commit f23e5e5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ uint8_t newFanSpeed = 0;
#endif

static bool cancel_heatup = false;
bool CooldownNoWait;

int8_t busy_state = NOT_BUSY;
static long prev_busy_signal_ms = -1;
Expand Down Expand Up @@ -6046,17 +6047,19 @@ SERIAL_PROTOCOLPGM("\n\n");
*/
case 109:
{
CooldownNoWait = false;
LCD_MESSAGERPGM(_T(MSG_HEATING));
heating_status = HeatingStatus::EXTRUDER_HEATING;
heating_status = HeatingStatus::EXTRUDER_HEATING;
prusa_statistics(1);

#ifdef AUTOTEMP
autotemp_enabled=false;
#endif
#endif
if (code_seen('S')) {
setTargetHotend(code_value());
} else if (code_seen('R')) {
setTargetHotend(code_value());
setTargetHotend(code_value());
CooldownNoWait = true;
} else if (code_seen('R')) {
setTargetHotend(code_value());
}
#ifdef AUTOTEMP
if (code_seen('S')) autotemp_min=code_value();
Expand All @@ -6078,7 +6081,7 @@ SERIAL_PROTOCOLPGM("\n\n");
wait_for_heater(codenum, active_extruder); //loops until target temperature is reached

LCD_MESSAGERPGM(_T(MSG_HEATING_COMPLETE));
heating_status = HeatingStatus::EXTRUDER_HEATING_COMPLETE;
heating_status = HeatingStatus::EXTRUDER_HEATING_COMPLETE;
prusa_statistics(2);

//starttime=_millis();
Expand All @@ -6102,7 +6105,7 @@ SERIAL_PROTOCOLPGM("\n\n");
case 190:
#if defined(TEMP_BED_PIN) && TEMP_BED_PIN > -1
{
bool CooldownNoWait = false;
CooldownNoWait = false;
LCD_MESSAGERPGM(_T(MSG_BED_HEATING));
heating_status = HeatingStatus::BED_HEATING;
prusa_statistics(1);
Expand Down

0 comments on commit f23e5e5

Please sign in to comment.