Move Volumetric methods to Planner

This commit is contained in:
Scott Lahteine
2017-09-18 05:51:45 -05:00
parent 6f92ab7eed
commit a10451ceed
12 changed files with 57 additions and 51 deletions

View File

@@ -174,9 +174,6 @@ extern bool Running;
inline bool IsRunning() { return Running; }
inline bool IsStopped() { return !Running; }
extern float filament_size[EXTRUDERS]; // cross-sectional area of filament (in millimeters), typically around 1.75 or 2.85, 0 disables the volumetric calculations for the extruder.
extern float volumetric_multiplier[EXTRUDERS]; // reciprocal of cross-sectional area of filament (in square millimeters), stored this way to reduce computational burden in planner
extern bool axis_known_position[XYZ];
extern bool axis_homed[XYZ];
extern volatile bool wait_for_heatup;
@@ -223,8 +220,6 @@ extern millis_t max_inactive_time, stepper_inactive_time;
extern int lpq_len;
#endif
void calculate_volumetric_multipliers();
bool pin_is_protected(const int8_t pin);
#endif // __MARLIN_H__