Reduce E_D_ratio code
This commit is contained in:
@ -210,7 +210,7 @@ class Planner {
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
static float position_float[NUM_AXIS];
|
||||
static float extruder_advance_k;
|
||||
static float E_D_ratio;
|
||||
static float advance_ed_ratio;
|
||||
#endif
|
||||
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
@ -269,7 +269,7 @@ class Planner {
|
||||
#if ENABLED(LIN_ADVANCE)
|
||||
static void set_extruder_advance_k(const float &k) { extruder_advance_k = k; };
|
||||
static float get_extruder_advance_k() { return extruder_advance_k; };
|
||||
static void set_E_D_ratio(const float &ratio) { E_D_ratio = ratio; };
|
||||
static void set_advance_ed_ratio(const float &ratio) { advance_ed_ratio = ratio; };
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user