M125: make pause_position static

This commit is contained in:
Guðni Már Gilbert 2023-11-19 09:30:18 +00:00 committed by 3d-gussner
parent 2e12133716
commit 4a4c015ad8
2 changed files with 1 additions and 2 deletions

View File

@ -232,7 +232,6 @@ extern int feedmultiply;
extern int extrudemultiply; // Sets extrude multiply factor (in percent) for all extruders
extern float extruder_multiplier[EXTRUDERS]; // reciprocal of cross-sectional area of filament (in square millimeters), stored this way to reduce computational burden in planner
extern float current_position[NUM_AXIS] ;
extern float pause_position[3];
extern float destination[NUM_AXIS] ;
extern float min_pos[3];
extern float max_pos[3];

View File

@ -200,7 +200,7 @@ float min_pos[3] = { X_MIN_POS, Y_MIN_POS, Z_MIN_POS };
float max_pos[3] = { X_MAX_POS, Y_MAX_POS, Z_MAX_POS };
bool axis_known_position[3] = {false, false, false};
float pause_position[3] = { X_PAUSE_POS, Y_PAUSE_POS, Z_PAUSE_LIFT };
static float pause_position[3] = { X_PAUSE_POS, Y_PAUSE_POS, Z_PAUSE_LIFT };
uint8_t fanSpeed = 0;
uint8_t newFanSpeed = 0;