Fix code indentation.
This commit is contained in:
parent
9fb68fb724
commit
55eaa1de83
1 changed files with 109 additions and 109 deletions
|
@ -6809,8 +6809,8 @@ if((eSoundMode==e_SOUND_MODE_LOUD)||(eSoundMode==e_SOUND_MODE_ONCE))
|
|||
}
|
||||
snmm_filaments_used |= (1 << tmp_extruder); //for stop print
|
||||
|
||||
if (mmu_enabled)
|
||||
{
|
||||
if (mmu_enabled)
|
||||
{
|
||||
//printf_P(PSTR("T code: %d \n"), tmp_extruder);
|
||||
//mmu_printf_P(PSTR("T%d\n"), tmp_extruder);
|
||||
mmu_command(MMU_CMD_T0 + tmp_extruder);
|
||||
|
@ -6821,15 +6821,15 @@ if (mmu_enabled)
|
|||
|
||||
if (*(strchr_pointer + index) == '?')// for single material usage with mmu
|
||||
mmu_load_to_nozzle();
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef SNMM
|
||||
|
||||
#ifdef LIN_ADVANCE
|
||||
#ifdef LIN_ADVANCE
|
||||
if (mmu_extruder != tmp_extruder)
|
||||
clear_current_adv_vars(); //Check if the selected extruder is not the active one and reset LIN_ADVANCE variables if so.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
mmu_extruder = tmp_extruder;
|
||||
|
||||
|
@ -6879,19 +6879,19 @@ else
|
|||
SERIAL_ECHOLNRPGM(_n("Invalid extruder"));////MSG_INVALID_EXTRUDER c=0 r=0
|
||||
}
|
||||
else {
|
||||
#if EXTRUDERS > 1
|
||||
#if EXTRUDERS > 1
|
||||
boolean make_move = false;
|
||||
#endif
|
||||
#endif
|
||||
if (code_seen('F')) {
|
||||
#if EXTRUDERS > 1
|
||||
#if EXTRUDERS > 1
|
||||
make_move = true;
|
||||
#endif
|
||||
#endif
|
||||
next_feedrate = code_value();
|
||||
if (next_feedrate > 0.0) {
|
||||
feedrate = next_feedrate;
|
||||
}
|
||||
}
|
||||
#if EXTRUDERS > 1
|
||||
#if EXTRUDERS > 1
|
||||
if (tmp_extruder != active_extruder) {
|
||||
// Save current position to return to after applying extruder offset
|
||||
memcpy(destination, current_position, sizeof(destination));
|
||||
|
@ -6910,14 +6910,14 @@ else
|
|||
prepare_move();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
SERIAL_ECHO_START;
|
||||
SERIAL_ECHORPGM(_n("Active Extruder: "));////MSG_ACTIVE_EXTRUDER c=0 r=0
|
||||
SERIAL_PROTOCOLLN((int)active_extruder);
|
||||
}
|
||||
|
||||
#endif //SNMM
|
||||
}
|
||||
}
|
||||
}
|
||||
} // end if(code_seen('T')) (end of T codes)
|
||||
|
||||
|
|
Loading…
Reference in a new issue