Drop the accessor form for LCD value editing

This commit is contained in:
Scott Lahteine
2017-04-21 22:30:36 -05:00
parent 10da175be5
commit ccda63c473
4 changed files with 25 additions and 67 deletions

View File

@ -168,6 +168,10 @@ class Planner {
static float z_fade_height, inverse_z_fade_height;
#endif
#if ENABLED(LIN_ADVANCE)
static float extruder_advance_k, advance_ed_ratio;
#endif
private:
/**
@ -209,8 +213,6 @@ class Planner {
#if ENABLED(LIN_ADVANCE)
static float position_float[NUM_AXIS];
static float extruder_advance_k;
static float advance_ed_ratio;
#endif
#if ENABLED(ULTRA_LCD)
@ -266,13 +268,6 @@ class Planner {
#endif
#if ENABLED(LIN_ADVANCE)
static void set_extruder_advance_k(float k) { extruder_advance_k = k; };
static float get_extruder_advance_k() { return extruder_advance_k; };
static void set_advance_ed_ratio(float ratio) { advance_ed_ratio = ratio; };
static float get_advance_ed_ratio() { return advance_ed_ratio; };
#endif
/**
* Planner::_buffer_line
*