|
@ -565,16 +565,8 @@ void Config_ResetDefault() { |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
volumetric_enabled = false; |
|
|
volumetric_enabled = false; |
|
|
filament_size[0] = DEFAULT_NOMINAL_FILAMENT_DIA; |
|
|
for (int q=0; q<COUNT(filament_size); q++) |
|
|
#if EXTRUDERS > 1 |
|
|
filament_size[q] = DEFAULT_NOMINAL_FILAMENT_DIA; |
|
|
filament_size[1] = DEFAULT_NOMINAL_FILAMENT_DIA; |
|
|
|
|
|
#if EXTRUDERS > 2 |
|
|
|
|
|
filament_size[2] = DEFAULT_NOMINAL_FILAMENT_DIA; |
|
|
|
|
|
#if EXTRUDERS > 3 |
|
|
|
|
|
filament_size[3] = DEFAULT_NOMINAL_FILAMENT_DIA; |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
calculate_volumetric_multipliers(); |
|
|
calculate_volumetric_multipliers(); |
|
|
|
|
|
|
|
|
SERIAL_ECHO_START; |
|
|
SERIAL_ECHO_START; |
|
@ -826,39 +818,45 @@ void Config_PrintSettings(bool forReplay) { |
|
|
|
|
|
|
|
|
#endif // FWRETRACT
|
|
|
#endif // FWRETRACT
|
|
|
|
|
|
|
|
|
if (volumetric_enabled) { |
|
|
/**
|
|
|
if (!forReplay) { |
|
|
* Volumetric extrusion M200 |
|
|
CONFIG_ECHO_START; |
|
|
*/ |
|
|
SERIAL_ECHOLNPGM("Filament settings:"); |
|
|
if (!forReplay) { |
|
|
} |
|
|
CONFIG_ECHO_START; |
|
|
|
|
|
SERIAL_ECHOPGM("Filament settings:"); |
|
|
|
|
|
if (volumetric_enabled) |
|
|
|
|
|
SERIAL_EOL; |
|
|
|
|
|
else |
|
|
|
|
|
SERIAL_ECHOLNPGM(" Disabled"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CONFIG_ECHO_START; |
|
|
|
|
|
SERIAL_ECHOPAIR(" M200 D", filament_size[0]); |
|
|
|
|
|
SERIAL_EOL; |
|
|
|
|
|
#if EXTRUDERS > 1 |
|
|
CONFIG_ECHO_START; |
|
|
CONFIG_ECHO_START; |
|
|
SERIAL_ECHOPAIR(" M200 D", filament_size[0]); |
|
|
SERIAL_ECHOPAIR(" M200 T1 D", filament_size[1]); |
|
|
SERIAL_EOL; |
|
|
SERIAL_EOL; |
|
|
|
|
|
#if EXTRUDERS > 2 |
|
|
#if EXTRUDERS > 1 |
|
|
|
|
|
CONFIG_ECHO_START; |
|
|
CONFIG_ECHO_START; |
|
|
SERIAL_ECHOPAIR(" M200 T1 D", filament_size[1]); |
|
|
SERIAL_ECHOPAIR(" M200 T2 D", filament_size[2]); |
|
|
SERIAL_EOL; |
|
|
SERIAL_EOL; |
|
|
#if EXTRUDERS > 2 |
|
|
#if EXTRUDERS > 3 |
|
|
CONFIG_ECHO_START; |
|
|
CONFIG_ECHO_START; |
|
|
SERIAL_ECHOPAIR(" M200 T2 D", filament_size[2]); |
|
|
SERIAL_ECHOPAIR(" M200 T3 D", filament_size[3]); |
|
|
SERIAL_EOL; |
|
|
SERIAL_EOL; |
|
|
#if EXTRUDERS > 3 |
|
|
|
|
|
CONFIG_ECHO_START; |
|
|
|
|
|
SERIAL_ECHOPAIR(" M200 T3 D", filament_size[3]); |
|
|
|
|
|
SERIAL_EOL; |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
} else { |
|
|
if (!volumetric_enabled) { |
|
|
if (!forReplay) { |
|
|
CONFIG_ECHO_START; |
|
|
CONFIG_ECHO_START; |
|
|
SERIAL_ECHOLNPGM(" M200 D0"); |
|
|
SERIAL_ECHOLNPGM("Filament settings: Disabled"); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* Auto Bed Leveling |
|
|
|
|
|
*/ |
|
|
#ifdef ENABLE_AUTO_BED_LEVELING |
|
|
#ifdef ENABLE_AUTO_BED_LEVELING |
|
|
#ifdef CUSTOM_M_CODES |
|
|
#ifdef CUSTOM_M_CODES |
|
|
if (!forReplay) { |
|
|
if (!forReplay) { |
|
|