mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 06:02:16 +00:00
Trust the bootloader to clear globals
This commit is contained in:
parent
b24099c9d0
commit
d57adbb88b
1 changed files with 9 additions and 9 deletions
|
@ -489,27 +489,27 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
|||
new_fanSpeeds[FAN_COUNT];
|
||||
#endif
|
||||
#if ENABLED(PROBING_FANS_OFF)
|
||||
bool fans_paused = false;
|
||||
bool fans_paused; // = false;
|
||||
int16_t paused_fanSpeeds[FAN_COUNT] = { 0 };
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if ENABLED(USE_CONTROLLER_FAN)
|
||||
int controllerFanSpeed = 0;
|
||||
int controllerFanSpeed; // = 0;
|
||||
#endif
|
||||
|
||||
// The active extruder (tool). Set with T<extruder> command.
|
||||
uint8_t active_extruder = 0;
|
||||
uint8_t active_extruder; // = 0;
|
||||
|
||||
// Relative Mode. Enable with G91, disable with G90.
|
||||
static bool relative_mode = false;
|
||||
static bool relative_mode; // = false;
|
||||
|
||||
// For M109 and M190, this flag may be cleared (by M108) to exit the wait loop
|
||||
volatile bool wait_for_heatup = true;
|
||||
|
||||
// For M0/M1, this flag may be cleared (by M108) to exit the wait-for-user loop
|
||||
#if HAS_RESUME_CONTINUE
|
||||
volatile bool wait_for_user = false;
|
||||
volatile bool wait_for_user; // = false;
|
||||
#endif
|
||||
|
||||
#if HAS_AUTO_REPORTING || ENABLED(HOST_KEEPALIVE_FEATURE)
|
||||
|
@ -519,11 +519,11 @@ volatile bool wait_for_heatup = true;
|
|||
const char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' };
|
||||
|
||||
// Number of characters read in the current line of serial input
|
||||
static int serial_count = 0;
|
||||
static int serial_count; // = 0;
|
||||
|
||||
// Inactivity shutdown
|
||||
millis_t previous_cmd_ms = 0;
|
||||
static millis_t max_inactive_time = 0;
|
||||
millis_t previous_cmd_ms; // = 0;
|
||||
static millis_t max_inactive_time; // = 0;
|
||||
static millis_t stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL;
|
||||
|
||||
// Buzzer - I2C on the LCD or a BEEPER_PIN
|
||||
|
@ -650,7 +650,7 @@ uint8_t target_extruder;
|
|||
float cartes[XYZ] = { 0 };
|
||||
|
||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||
bool filament_sensor = false; // M405 turns on filament sensor control. M406 turns it off.
|
||||
bool filament_sensor; // = false; // M405 turns on filament sensor control. M406 turns it off.
|
||||
float filament_width_nominal = DEFAULT_NOMINAL_FILAMENT_DIA, // Nominal filament width. Change with M404.
|
||||
filament_width_meas = DEFAULT_MEASURED_FILAMENT_DIA; // Measured filament diameter
|
||||
uint8_t meas_delay_cm = MEASUREMENT_DELAY_CM; // Distance delay setting
|
||||
|
|
Loading…
Reference in a new issue