Fix compiler warning sketch/Marlin_main.cpp:6267:16: warning: variable 'TooLowZ' set but not used [-Wunused-but-set-variable]
int8_t TooLowZ = 0; This variable was unused even in "Initial commit".
This commit is contained in:
parent
d5ab657cdf
commit
b44f71fd33
@ -6264,7 +6264,6 @@ Sigma_Exit:
|
||||
}
|
||||
|
||||
feedmultiplyBckp=feedmultiply;
|
||||
int8_t TooLowZ = 0;
|
||||
|
||||
float HotendTempBckp = degTargetHotend(active_extruder);
|
||||
int fanSpeedBckp = fanSpeed;
|
||||
@ -6297,9 +6296,6 @@ Sigma_Exit:
|
||||
current_position[Z_AXIS]+= FILAMENTCHANGE_ZADD ;
|
||||
if(current_position[Z_AXIS] < 10){
|
||||
current_position[Z_AXIS]+= 10 ;
|
||||
TooLowZ = 1;
|
||||
}else{
|
||||
TooLowZ = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user