Add pre-calculated planner.e_factor
This commit is contained in:
parent
24b302c001
commit
3293823642
11 changed files with 110 additions and 85 deletions
|
|
@ -44,10 +44,6 @@
|
|||
#include "serial.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(INCH_MODE_SUPPORT)
|
||||
extern bool volumetric_enabled;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* GCode parser
|
||||
*
|
||||
|
|
@ -76,6 +72,8 @@ public:
|
|||
|
||||
// Global states for GCode-level units features
|
||||
|
||||
static bool volumetric_enabled;
|
||||
|
||||
#if ENABLED(INCH_MODE_SUPPORT)
|
||||
static float linear_unit_factor, volumetric_unit_factor;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue