1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Trust the bootloader to clear globals

This commit is contained in:
Scott Lahteine 2018-03-21 05:45:23 -05:00
parent 045ee28c50
commit 9fd1016bb1
3 changed files with 8 additions and 8 deletions

View File

@ -174,7 +174,7 @@ bool axis_homed[XYZ] = { false }, axis_known_position[XYZ] = { false };
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
@ -184,7 +184,7 @@ 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)
@ -192,12 +192,12 @@ volatile bool wait_for_heatup = true;
#endif
// Inactivity shutdown
millis_t max_inactive_time = 0,
millis_t max_inactive_time, // = 0
stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL;
#ifdef CHDK
millis_t chdkHigh = 0;
bool chdkActive = false;
millis_t chdkHigh; // = 0;
bool chdkActive; // = false;
#endif
#if ENABLED(PID_EXTRUSION_SCALING)

View File

@ -26,7 +26,7 @@
#include "filwidth.h"
bool filament_sensor = false; // M405/M406 turns filament sensor control ON/OFF.
bool filament_sensor; // = false; // M405/M406 turns filament sensor control ON/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

View File

@ -69,7 +69,7 @@ XYZ_CONSTS(float, home_bump_mm, HOME_BUMP_MM);
XYZ_CONSTS(signed char, home_dir, HOME_DIR);
// Relative Mode. Enable with G91, disable with G90.
bool relative_mode = false;
bool relative_mode; // = false;
/**
* Cartesian Current Position
@ -89,7 +89,7 @@ float destination[XYZE] = { 0.0 };
// The active extruder (tool). Set with T<extruder> command.
uint8_t active_extruder = 0;
uint8_t active_extruder; // = 0;
// Extruder offsets
#if HOTENDS > 1